Completed
Push — master ( 601d9c...efaa20 )
by max
03:26
created
src/Service/CronService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
      */
23 23
     protected $startTime = null;
24 24
 
25
+    /**
26
+     * @param integer $timeout
27
+     */
25 28
     public function __construct($timeout, Cron $cron)
26 29
     {
27 30
         $this->timeout = $timeout;
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function getScriptPath()
96 96
     {
97 97
         if (!$this->scriptPath) {
98
-            $this->scriptPath = getcwd() . DIRECTORY_SEPARATOR  . 'public' . DIRECTORY_SEPARATOR;
98
+            $this->scriptPath = getcwd() . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR;
99 99
         }
100 100
         return $this->scriptPath;
101 101
     }
Please login to merge, or discard this patch.
src/Log/TextFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,9 +64,9 @@
 block discarded – undo
64 64
     private function getExecutionTime($startTime, $endTime)
65 65
     {
66 66
         $executionTime = $endTime - $startTime;
67
-        $days = floor($executionTime / 3600*24);
68
-        $hours = floor(($executionTime - ($days*3600*24)) / 3600);
69
-        $minutes = floor(($executionTime - ($hours*3600)) / 60);
67
+        $days = floor($executionTime / 3600 * 24);
68
+        $hours = floor(($executionTime - ($days * 3600 * 24)) / 3600);
69
+        $minutes = floor(($executionTime - ($hours * 3600)) / 60);
70 70
         $secs = floor($executionTime % 60);
71 71
 
72 72
         $executionTimeText = '';
Please login to merge, or discard this patch.