@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * update phar file timestamp to the last commit in the repository for binary reproduceable build |
|
4 | - * of phar-files. |
|
5 | - * |
|
6 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
7 | - */ |
|
3 | + * update phar file timestamp to the last commit in the repository for binary reproduceable build |
|
4 | + * of phar-files. |
|
5 | + * |
|
6 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use Seld\PharUtils\Timestamps; |
10 | 10 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | /** |
56 | 56 | * Get job configuration from XML and database. Expression priority is given to the database. |
57 | 57 | * |
58 | - * @return Traversable|Mage_Core_Model_Config_Element[] |
|
58 | + * @return AppendIterator |
|
59 | 59 | */ |
60 | 60 | private function getJobConfigElements() |
61 | 61 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | $expr = null; |
41 | 41 | |
42 | 42 | if (isset($job->schedule->config_path)) { |
43 | - $expr = Mage::getStoreConfig((string)$job->schedule->config_path); |
|
43 | + $expr = Mage::getStoreConfig((string) $job->schedule->config_path); |
|
44 | 44 | } elseif (isset($job->schedule->cron_expr)) { |
45 | 45 | $expr = $job->schedule->cron_expr; |
46 | 46 | } |
@@ -84,7 +84,7 @@ |
||
84 | 84 | } |
85 | 85 | |
86 | 86 | if ($input->getOption('errors-only')) { |
87 | - $table = array_filter($table, function($row){ |
|
87 | + $table = array_filter($table, function($row) { |
|
88 | 88 | return ($row['Status'] === 'Error'); |
89 | 89 | }); |
90 | 90 | } |