Completed
Pull Request — master (#179)
by Korotkov
23s
created
src/Rudra.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      * @param  string|object $object
267 267
      * @return void
268 268
      */
269
-    private function setObject(string $key, string|object $object): void
269
+    private function setObject(string $key, string | object $object): void
270 270
     {
271 271
         if (is_object($object)) {
272 272
             $this->services()->set([$key => $object]);
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
      * @param  array|null $params
322 322
      * @return object
323 323
      */
324
-    public function new(string $object, ?array $params = null): object
324
+    public function new(string $object, ?array $params = null) : object
325 325
     {
326 326
         if (!class_exists($object)) {
327 327
             throw new LogicException("Class {$object} does not exist");
Please login to merge, or discard this patch.