- Quickfix on changes made to add Attributes
This commit is contained in:
parent
f20839e5bf
commit
2998562d4e
|
@ -80,9 +80,7 @@ class TaskFetcher {
|
||||||
# Should generate an equivalent of Ulmus's object reflection here !
|
# Should generate an equivalent of Ulmus's object reflection here !
|
||||||
$objectResolver = new ObjectResolver($class, true, true, false, true);
|
$objectResolver = new ObjectResolver($class, true, true, false, true);
|
||||||
|
|
||||||
$taskList = $objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false );
|
foreach($objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false ) as $func => $cronard) {
|
||||||
|
|
||||||
foreach($taskList as $func => $cronard) {
|
|
||||||
foreach($cronard as $task) {
|
foreach($cronard as $task) {
|
||||||
$list[] = [ 'class' => $class, 'method' => $func, 'annotation' => $task ];
|
$list[] = [ 'class' => $class, 'method' => $func, 'annotation' => $task ];
|
||||||
}
|
}
|
||||||
|
@ -90,7 +88,7 @@ class TaskFetcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $list;
|
return $list ?? [];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue