@@ -19,7 +19,7 @@ |
||
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(); |
@@ -88,7 +88,7 @@ |
||
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) { |