@@ -89,7 +89,7 @@ |
||
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 | } |
@@ -117,7 +117,7 @@ |
||
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 | } |