@@ -93,13 +93,15 @@ |
||
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 | } |