Completed
Push — master ( 28d05b...16bc73 )
by Raphaël
02:44
created
src/Listeners/ChangingsToFileListeners.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
 
53 53
     /**
54
-     * @param sring $filePath
54
+     * @param string $filePath
55 55
      * @param array $element
56 56
      * @return void
57 57
      */
Please login to merge, or discard this patch.
src/Services/DetectAppointmentsChangingsService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
-     * @param $eventCode
21
+     * @param string $eventCode
22 22
      * @param null|int $start
23 23
      * @param null|int $maxResult
24 24
      * @return mixed
Please login to merge, or discard this patch.
src/Commands/DetectAppointmentsChangingCommand.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             if(!$appointmentsOldHistoryFilePath){
87 87
                 //No files so it's the first time we attempt to synchronize.
88 88
                 $appointmentsOld = [];
89
-            }else{
89
+            } else{
90 90
                 //Get the last old appointments data.
91 91
                 $appointmentsOldHistory = FileChangesHelper::getJsonContentFromFile($appointmentsOldHistoryFilePath);
92 92
                 $appointmentsOld = DetectAppointmentsChangingsService::recursiveArrayObjectToFullArray($appointmentsOldHistory);
@@ -98,14 +98,14 @@  discard block
 block discarded – undo
98 98
                 //Changes? So we save the new online appointments
99 99
                 FileChangesHelper::saveAppointmentsFileByHistory($this->dirPathHistoryAppointments.'/appointments_'.$eventCode.'.json',json_encode($appointmentsNew));
100 100
                 $output->writeln('Detect changes - Save Changes');
101
-            }else{
101
+            } else{
102 102
                 $output->writeln('Detect changes - No Changes');
103 103
             }
104 104
             foreach ($this->listeners as $listener){
105 105
                 //Run Listener. For instance,Here we can use ChangingsToFileListeners to save the changes in file.
106 106
                 $listener->run($eventCode,$listChangings);
107 107
             }
108
-        }else{
108
+        } else{
109 109
             $output->writeln('Detect changes - Stop.');
110 110
         }
111 111
     }
Please login to merge, or discard this patch.