Passed
Branch master (8bf58c)
by Korotkov
02:01
created
src/Rudra.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * @param  array|null $params
131 131
      * @return object
132 132
      */
133
-    public function new(string $object, ?array $params = null): object
133
+    public function new(string $object, ?array $params = null) : object
134 134
     {
135 135
         $reflection = new \ReflectionClass($object);
136 136
         $constructor = $reflection->getConstructor();
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      * @param  string|object $object
237 237
      * @return void
238 238
      */
239
-    private function setObject(string $key, string|object $object): void
239
+    private function setObject(string $key, string | object $object): void
240 240
     {
241 241
         (is_object($object)) ? $this->mergeData($key, $object) : $this->iOc($key, $object);
242 242
     }
Please login to merge, or discard this patch.
src/Traits/FacadeTrait.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,9 @@
 block discarded – undo
23 23
     public static function __callStatic(string $method, array $parameters = [])
24 24
     {
25 25
         $className = str_replace("Facade", "", static::class);
26
-        if (!class_exists($className)) $className = str_replace("\s", "", $className);
26
+        if (!class_exists($className)) {
27
+            $className = str_replace("\s", "", $className);
28
+        }
27 29
 
28 30
         if (!Rudra::has($className)) {
29 31
             Rudra::set([$className, [$className]]);
Please login to merge, or discard this patch.