Completed
Pull Request — master (#14)
by Tomáš
03:35
created
src/Output/FileSystemWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         foreach ($fileInfos as $fileInfo) {
37 37
             $relativeDestination = substr($fileInfo->getPathname(), strlen($this->sourceDirectory));
38
-            $absoluteDestination = $this->outputDirectory . $relativeDestination;
38
+            $absoluteDestination = $this->outputDirectory.$relativeDestination;
39 39
 
40 40
             FileSystem::copy($fileInfo->getRealPath(), $absoluteDestination, true);
41 41
         }
Please login to merge, or discard this patch.
src/PostsBundle/SortPosts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 
14 14
     // We have special sorting rules for our items based on the date
15 15
 // and title. This assumes that the items are actually Post instances.
16
-uasort($this->items, function ($a, $b) {
16
+uasort($this->items, function($a, $b) {
17 17
     return strnatcmp($b->date().' '.$b->title(), $a->date().' '.$a->title());
18 18
 });
19 19
\ No newline at end of file
Please login to merge, or discard this patch.