@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | return true; |
80 | 80 | } |
81 | 81 | return $this->findByCallback( |
82 | - function (PharInvocation $candidate) use ($invocation) { |
|
82 | + function(PharInvocation $candidate) use ($invocation) { |
|
83 | 83 | return $candidate->getBaseName() === $invocation->getBaseName(); |
84 | 84 | } |
85 | 85 | ) === null; |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | return true; |
100 | 100 | } |
101 | 101 | return $this->findByCallback( |
102 | - function (PharInvocation $candidate) use ($invocation) { |
|
102 | + function(PharInvocation $candidate) use ($invocation) { |
|
103 | 103 | return $candidate->equals($invocation); |
104 | 104 | } |
105 | 105 | ) === null; |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | private function triggerDuplicateAliasWarning(PharInvocation $invocation) |
112 | 112 | { |
113 | 113 | $sameAliasInvocation = $this->findByCallback( |
114 | - function (PharInvocation $candidate) use ($invocation) { |
|
114 | + function(PharInvocation $candidate) use ($invocation) { |
|
115 | 115 | return $candidate->getAlias() === $invocation->getAlias(); |
116 | 116 | }, |
117 | 117 | true |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | private function findByBaseName(string $baseName) |
172 | 172 | { |
173 | 173 | return Manager::instance()->getCollection()->findByCallback( |
174 | - function (PharInvocation $candidate) use ($baseName) { |
|
174 | + function(PharInvocation $candidate) use ($baseName) { |
|
175 | 175 | return $candidate->getBaseName() === $baseName; |
176 | 176 | }, |
177 | 177 | true |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | return null; |
225 | 225 | } |
226 | 226 | return Manager::instance()->getCollection()->findByCallback( |
227 | - function (PharInvocation $candidate) use ($possibleAlias) { |
|
227 | + function(PharInvocation $candidate) use ($possibleAlias) { |
|
228 | 228 | return $candidate->getAlias() === $possibleAlias; |
229 | 229 | }, |
230 | 230 | true |