Passed
Push — main ( ee5e56...fdb070 )
by Carlos C
01:34
created
src/ProgressByRatio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function __construct(
27 27
         ?Status $status = null,
28
-        iterable $observers = [],
28
+        iterable $observers = [ ],
29 29
         float $ratio = 0.01,
30 30
         int $precision = 2
31 31
     ) {
Please login to merge, or discard this patch.
src/Progress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * @param Status|null $initialStatus when null it creates an empty State using make method
21 21
      * @param iterable<SplObserver> $observers
22 22
      */
23
-    public function __construct(?Status $initialStatus = null, iterable $observers = [])
23
+    public function __construct(?Status $initialStatus = null, iterable $observers = [ ])
24 24
     {
25 25
         $this->constructSplSubjectWithObservers();
26 26
         $this->status = $initialStatus ?: Status::make();
Please login to merge, or discard this patch.
src/SplSubjectWithObserversTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     public function notify(): void
36 36
     {
37
-        if (! $this instanceof SplSubject) {
37
+        if (!$this instanceof SplSubject) {
38 38
             throw new LogicException(sprintf('Object %s is not an instance of SplSubject', get_class($this)));
39 39
         }
40 40
         /** @phpstan-var ObserversSet $observers */
Please login to merge, or discard this patch.