*/
final public function batchPush( array $jobs, $flags = 0 ) {
if ( !count( $jobs ) ) {
- return true; // nothing to do
+ return; // nothing to do
}
foreach ( $jobs as $job ) {
/**
* @see JobQueue::batchPush()
* @param array $jobs
- * @param $flags
+ * @param int $flags
*/
abstract protected function doBatchPush( array $jobs, $flags );