projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
consolidation
/
annotated-command
/
src
/
AnnotatedCommandFactory.php
diff --git
a/vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php
b/vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php
index abdd97276f5fbd3736399e60c1f62119844ccf0a..9f67ef6480103941598c5842aa75142a32699420 100644
(file)
--- a/
vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php
+++ b/
vendor/consolidation/annotated-command/src/AnnotatedCommandFactory.php
@@
-184,6
+184,9
@@
class AnnotatedCommandFactory implements AutomaticOptionsProviderInterface
protected function getCommandInfoListFromCache($commandFileInstance)
{
$commandInfoList = [];
protected function getCommandInfoListFromCache($commandFileInstance)
{
$commandInfoList = [];
+ if (!is_object($commandFileInstance)) {
+ return [];
+ }
$className = get_class($commandFileInstance);
if (!$this->getDataStore()->has($className)) {
return [];
$className = get_class($commandFileInstance);
if (!$this->getDataStore()->has($className)) {
return [];