Completed
Pull Request — master (#23)
by Paweł
02:31
created
example/to-string-conversion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 require_once __DIR__.'/../vendor/autoload.php';
6 6
 
Please login to merge, or discard this patch.
src/Scalp/Exception/UnsupportedOperationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Exception;
6 6
 
Please login to merge, or discard this patch.
src/Scalp/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace {
6 6
     require_once __DIR__.'/Conversion/implicit_conversion.php';
Please login to merge, or discard this patch.
src/Scalp/Utils/Delayed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Utils;
6 6
 
Please login to merge, or discard this patch.
src/Scalp/Utils/Success.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Utils;
6 6
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         return $this->value;
44 44
     }
45 45
 
46
-    public function foreach(callable $f): void
46
+    public function foreach (callable $f): void
47 47
     {
48 48
         $f($this->value);
49 49
     }
Please login to merge, or discard this patch.
src/Scalp/Utils/TryCatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Utils;
6 6
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @param callable $f
68 68
      */
69
-    abstract public function foreach(callable $f): void;
69
+    abstract public function foreach (callable $f): void;
70 70
 
71 71
     /**
72 72
      * Returns the given function applied to the value from this `Success` or returns this if this is a `Failure`.
Please login to merge, or discard this patch.
src/Scalp/Utils/Failure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Utils;
6 6
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         throw $this->error;
41 41
     }
42 42
 
43
-    public function foreach(callable $f): void
43
+    public function foreach (callable $f): void
44 44
     {
45 45
     }
46 46
 
Please login to merge, or discard this patch.
src/Scalp/Conversion/AnyToString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Conversion;
6 6
 
Please login to merge, or discard this patch.
src/Scalp/Conversion/implicit_conversion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Scalp\Conversion {
6 6
     function NullToString(): string
Please login to merge, or discard this patch.