Completed
Pull Request — master (#10)
by Tomáš
04:48 queued 01:50
created
src/Sculpin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
         $this->eventDispatcher->dispatch(SculpinEvents::EVENT_BEFORE_RUN, new SourceSetEvent($sourceSet));
90 90
 
91
-        if ($updatedSources = array_filter($sourceSet->updatedSources(), function ($source) {
91
+        if ($updatedSources = array_filter($sourceSet->updatedSources(), function($source) {
92 92
             return !$source->isGenerated();
93 93
         })) {
94 94
             if (!$found) {
Please login to merge, or discard this patch.
src/PostsBundle/Posts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         // We have special sorting rules for our items based on the date
21 21
         // and title. This assumes that the items are actually Post instances.
22
-        uasort($this->items, function ($a, $b) {
22
+        uasort($this->items, function($a, $b) {
23 23
             return strnatcmp($b->date().' '.$b->title(), $a->date().' '.$a->title());
24 24
         });
25 25
         parent::init();
Please login to merge, or discard this patch.