diff --git a/src/SourceLocator/Exception/InvalidFileInfo.php b/src/SourceLocator/Exception/InvalidFileInfo.php
index <HASH>..<HASH> 100644
--- a/src/SourceLocator/Exception/InvalidFileInfo.php
+++ b/src/SourceLocator/Exception/InvalidFileInfo.php
@@ -6,11 +6,14 @@ class InvalidFileInfo extends \RuntimeException
 {
     /**
      * @param mixed $nonSplFileInfo
+     *
      * @return InvalidFileInfo
      */
     public static function fromNonSplFileInfo($nonSplFileInfo)
     {
-        $type = is_object($nonSplFileInfo) ? get_class($nonSplFileInfo) : gettype($nonSplFileInfo) ;
-        return new self(sprintf('Expected an iterator of SplFileInfo instances, %s given instead', $type));
+        return new self(sprintf(
+            'Expected an iterator of SplFileInfo instances, %s given instead',
+            is_object($nonSplFileInfo) ? get_class($nonSplFileInfo) : gettype($nonSplFileInfo)
+        ));
     }
 }
#<I> CS (inlining expressions, docblock spacing)