@@ -565,9 +565,10 @@ public function magentoCLI($command, $timeout = null, $arguments = null)
565565 /**
566566 * Executes Magento Cron keeping the interval (> 60 seconds between each run)
567567 *
568- * @param string|null $cronGroups
569- * @param int|null $timeout
570- * @param string|null $arguments
568+ * @param string|null $cronGroups
569+ * @param integer|null $timeout
570+ * @param string|null $arguments
571+ * @return string
571572 */
572573 public function magentoCron ($ cronGroups = null , $ timeout = null , $ arguments = null )
573574 {
@@ -596,7 +597,7 @@ private function notifyCronFinished(array $cronGroups = [])
596597 * Returns last Cron execution time for specific cron or all crons
597598 *
598599 * @param array $cronGroups
599- * @return int
600+ * @return integer
600601 */
601602 private function getLastCronExecution (array $ cronGroups = [])
602603 {
@@ -606,7 +607,7 @@ private function getLastCronExecution(array $cronGroups = [])
606607
607608 $ cronGroups = array_merge ($ cronGroups , ['* ' ]);
608609
609- return array_reduce ($ cronGroups , function ($ lastExecution , $ group ) {
610+ return array_reduce ($ cronGroups , function ($ lastExecution , $ group ) {
610611 if (isset ($ this ->cronExecution [$ group ]) && $ this ->cronExecution [$ group ] > $ lastExecution ) {
611612 $ lastExecution = $ this ->cronExecution [$ group ];
612613 }
@@ -618,9 +619,9 @@ private function getLastCronExecution(array $cronGroups = [])
618619 /**
619620 * Returns time to wait for next run
620621 *
621- * @param array $cronGroups
622- * @param int $cronInterval
623- * @return int
622+ * @param array $cronGroups
623+ * @param integer $cronInterval
624+ * @return integer
624625 */
625626 private function getCronWait (array $ cronGroups = [], int $ cronInterval = self ::MAGENTO_CRON_INTERVAL )
626627 {
@@ -1053,9 +1054,9 @@ public function getSecret($key)
10531054 /**
10541055 * Waits proper amount of time to perform Cron execution
10551056 *
1056- * @param $cronGroups
1057- * @param $timeout
1058- * @param $arguments
1057+ * @param string $cronGroups
1058+ * @param integer $timeout
1059+ * @param string $arguments
10591060 * @return string
10601061 * @throws TestFrameworkException
10611062 */
0 commit comments