@@ -46,7 +46,7 @@ |
||
46 | 46 | * Create a ContentInterface based on the extension and string content |
47 | 47 | * @param string $extension |
48 | 48 | * @param string $content |
49 | - * @return \NeedleProject\FileIo\Content\ContentInterface |
|
49 | + * @return null|Content |
|
50 | 50 | */ |
51 | 51 | public function create($extension, $content) |
52 | 52 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |
136 | - * @return \NeedleProject\FileIo\Content\ContentInterface |
|
136 | + * @return null|Content\Content |
|
137 | 137 | * @throws \NeedleProject\FileIo\Exception\FileNotFoundException |
138 | 138 | * @throws \NeedleProject\FileIo\Exception\IOException |
139 | 139 | * @throws \NeedleProject\FileIo\Exception\PermissionDeniedException |
@@ -33,7 +33,7 @@ |
||
33 | 33 | public function normalizePathSeparator($path) |
34 | 34 | { |
35 | 35 | $path = preg_replace('#(\\\|\/)#', DIRECTORY_SEPARATOR, $path); |
36 | - return preg_replace('#' . DIRECTORY_SEPARATOR . '{2,}#', DIRECTORY_SEPARATOR, $path); |
|
36 | + return preg_replace('#'.DIRECTORY_SEPARATOR.'{2,}#', DIRECTORY_SEPARATOR, $path); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |