Completed
Pull Request — master (#14)
by Tijs
14:03
created
Helper/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 
90 90
         usort(
91 91
             $sortedItems,
92
-            function (SearchResult $result1, SearchResult $result2) {
92
+            function(SearchResult $result1, SearchResult $result2) {
93 93
                 if ($result1->getWeight() < $result2->getWeight()) {
94 94
                     return 1;
95 95
                 }
Please login to merge, or discard this patch.
Tests/Helper/SearchTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 
118 118
         $eventDispatcher->method('dispatch')
119 119
             ->will($this->returnCallback(
120
-                function ($eventName, $event) use ($eventResult) {
120
+                function($eventName, $event) use ($eventResult) {
121 121
                     foreach ($eventResult as $item) {
122 122
                         $event->addResult($item);
123 123
                     }
Please login to merge, or discard this patch.