We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -389,10 +389,12 @@ |
||
389 | 389 | return $this->fallbackLogic($value); |
390 | 390 | } |
391 | 391 | |
392 | - public function else($value) |
|
392 | + public function else { |
|
393 | + ($value) |
|
393 | 394 | { |
394 | 395 | return $this->fallbackLogic($value); |
395 | 396 | } |
397 | + } |
|
396 | 398 | |
397 | 399 | // --------------- |
398 | 400 | // PRIVATE METHODS |
@@ -298,8 +298,7 @@ discard block |
||
298 | 298 | if($abortIfNotExist) { |
299 | 299 | abort(500, 'Button name [«' . $btnKey . '»] not found.', ['developer-error-exception']); |
300 | 300 | } |
301 | - } |
|
302 | - else { |
|
301 | + } else { |
|
303 | 302 | $startItems[] = $btnKey; |
304 | 303 | } |
305 | 304 | } |
@@ -336,8 +335,7 @@ discard block |
||
336 | 335 | if($abortIfNotExist) { |
337 | 336 | abort(500, 'Button name [«' . $btnKey . '»] not found.', ['developer-error-exception']); |
338 | 337 | } |
339 | - } |
|
340 | - else { |
|
338 | + } else { |
|
341 | 339 | $endItems[] = $btnKey; |
342 | 340 | } |
343 | 341 | } |