Passed
Push — master ( 2f1f5f...dd46fb )
by Aleksei
06:02 queued 21s
created
src/Core/src/Internal/Introspector.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $scope = self::getAccessor($container)->scope;
30 30
         $result = [];
31
-        do {
31
+        do{
32 32
             $result[] = $scope->getScopeName();
33 33
             $scope = $scope->getParentScope();
34
-        } while ($scope !== null);
34
+        }while ($scope !== null);
35 35
 
36 36
         return $result;
37 37
     }
@@ -41,13 +41,13 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public static function getAccessor(?ContainerInterface $container = null): Accessor
43 43
     {
44
-        if ($container !== null && !$container instanceof Container) {
45
-            throw new \InvalidArgumentException('Container must be an instance of ' . Container::class);
44
+        if ($container !== null && !$container instanceof Container){
45
+            throw new \InvalidArgumentException('Container must be an instance of '.Container::class);
46 46
         }
47 47
 
48 48
         $container ??= ContainerScope::getContainer();
49 49
 
50
-        if (!$container instanceof Container) {
50
+        if (!$container instanceof Container){
51 51
             throw new \RuntimeException('Container is not available.');
52 52
         }
53 53
 
Please login to merge, or discard this patch.
src/Core/src/Internal/Introspector/Accessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 {
32 32
     public function __construct(
33 33
         public PublicContainer $publicContainer,
34
-    ) {
34
+    ){
35 35
     }
36 36
 
37 37
     public function __get(string $name): object
Please login to merge, or discard this patch.