Completed
Push — develop ( 53a378...d50788 )
by
unknown
22:42 queued 11:18
created
module/Applications/src/Applications/Entity/History.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected $message;
43 43
     
44
+    /**
45
+     * @param StatusInterface $status
46
+     */
44 47
     public function __construct($status, $message = '[System]')
45 48
     {
46 49
         if (!$status instanceof StatusInterface) {
@@ -116,7 +119,7 @@  discard block
 block discarded – undo
116 119
     /**
117 120
      * Sets the history message
118 121
      *
119
-     * @param $message
122
+     * @param string $message
120 123
      *
121 124
      * @return $this
122 125
      */
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/ConsoleController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
                     
41 41
                 case "days":
42 42
                     $date = new \DateTime();
43
-                    $date->modify('-' . (int) $value. ' day');
43
+                    $date->modify('-' . (int) $value . ' day');
44 44
                     $q = array('$lt' => $date);
45 45
                     if (isset($query['datePublishStart.date'])) {
46
-                        $query['datePublishStart.date']= array_merge(
46
+                        $query['datePublishStart.date'] = array_merge(
47 47
                             $query['datePublishStart.date'],
48 48
                             $q
49 49
                         );
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         }
60 60
         $query['status.name'] = 'active';
61 61
 
62
-        $jobs = $jobsRepo->findBy($query,null,$limit);
62
+        $jobs = $jobsRepo->findBy($query, null, $limit);
63 63
         $count = count($jobs);
64 64
 
65 65
         if (0 === $count) {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         
74 74
         echo "$count jobs found, which have to expire ...\n";
75 75
         
76
-        $progress     = new ProgressBar(
76
+        $progress = new ProgressBar(
77 77
             new ConsoleAdapter(
78 78
                 array(
79 79
                 'elements' => array(
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 continue;
134 134
             }
135 135
             try {
136
-                $group       = $user->getGroup($job->getCompany());
136
+                $group = $user->getGroup($job->getCompany());
137 137
             } catch (\Exception $e) {
138 138
                 continue;
139 139
             }
Please login to merge, or discard this patch.