Completed
Branch feature/pre-split (899df2)
by Anton
03:08
created
source/Spiral/Debug/Dumper.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      */
86 86
     public function dump($value, int $output = self::OUTPUT_ECHO): string
87 87
     {
88
-         switch ($output) {
88
+            switch ($output) {
89 89
             case self::OUTPUT_ECHO:
90 90
                 echo $this->style->wrapContainer($this->dumpValue($value, '', 0));
91 91
                 break;
Please login to merge, or discard this patch.
source/Spiral/ODM/Traits/SourceTrait.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,13 +93,15 @@
 block discarded – undo
93 93
         //Via global scope
94 94
         $container = self::staticContainer();
95 95
 
96
-        if (empty($container)) //Via global scope
96
+        if (empty($container)) {
97
+            //Via global scope
97 98
         {
98 99
             throw new ScopeException(sprintf(
99 100
                 "Unable to get '%s' source, no container scope is available",
100 101
                 static::class
101 102
             ));
102 103
         }
104
+        }
103 105
 
104 106
         return $container->get(ODM::class)->source(static::class);
105 107
     }
Please login to merge, or discard this patch.