Completed
Pull Request — master (#15)
by Ali
65:17
created
src/Repository/ApiKeyRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/ApiKeyRepository.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/LogLoginRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/LogLoginRepository.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/UserRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/UserRepository.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/DateDimensionRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/DateDimensionRepository.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/HealthzRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/HealthzRepository.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/Traits/LoadUserByUserNameTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/Traits/LoadUserByUserNameTrait.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/Traits/RepositoryMethodsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/Traits/RepositoryMethodsTrait.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/Traits/RepositoryWrappersTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/Traits/RepositoryWrappersTrait.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/BaseRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Repository/BaseRepository.php
5 5
  *
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     public function addCallback(callable $callable, ?array $args = null): BaseRepositoryInterface
187 187
     {
188 188
         $args = $args ?? [];
189
-        $hash = sha1(serialize(array_merge([spl_object_hash((object) $callable)], $args)));
189
+        $hash = sha1(serialize(array_merge([spl_object_hash((object)$callable)], $args)));
190 190
 
191 191
         if (!in_array($hash, self::$processedCallbacks, true)) {
192 192
             self::$callbacks[$hash] = [$callable, $args];
Please login to merge, or discard this patch.