Completed
Push — master ( a99541...e1f08c )
by Muhammad Kashif
42:53 queued 17:55
created
src/Repository/InMemoryServiceRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function get($serviceId)
16 16
     {
17
-        if(!isset($serviceId)){
17
+        if (!isset($serviceId)) {
18 18
             return Null;
19 19
         }
20 20
 
Please login to merge, or discard this patch.
src/Factory/JsonServiceFactory.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function __construct($jsonFile)
25 25
     {
26
-       $this->loadServiceList($jsonFile);
26
+        $this->loadServiceList($jsonFile);
27 27
     }
28 28
 
29 29
     /**
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
      */
45 45
     private function loadServiceList($jsonFile)
46 46
     {
47
-       $services =  $this->loadJsonFile($jsonFile);
47
+        $services =  $this->loadJsonFile($jsonFile);
48 48
 
49
-       foreach($services->services as $service) {
50
-           $this->services[$service->id] = $service;
51
-       }
49
+        foreach($services->services as $service) {
50
+            $this->services[$service->id] = $service;
51
+        }
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
      */
45 45
     private function loadServiceList($jsonFile)
46 46
     {
47
-       $services =  $this->loadJsonFile($jsonFile);
47
+       $services = $this->loadJsonFile($jsonFile);
48 48
 
49
-       foreach($services->services as $service) {
49
+       foreach ($services->services as $service) {
50 50
            $this->services[$service->id] = $service;
51 51
        }
52 52
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function create($service)
58 58
     {
59
-        if(!isset($this->services[$service])) {
59
+        if (!isset($this->services[$service])) {
60 60
             throw new NotFoundException('Service not found: ' . $service);
61 61
         }
62 62
 
Please login to merge, or discard this patch.