@@ -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 | } |