projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated from some -dev modules to alpha, beta or full releases
[yaffs-website]
/
vendor
/
psy
/
psysh
/
src
/
TabCompletion
/
Matcher
/
ClassAttributesMatcher.php
diff --git
a/vendor/psy/psysh/src/TabCompletion/Matcher/ClassAttributesMatcher.php
b/vendor/psy/psysh/src/TabCompletion/Matcher/ClassAttributesMatcher.php
index 13a1746f6f6701e181851a272bc8913402890682..b26df77811cc8924e867a147e5d4d1a65e4ed5db 100644
(file)
--- a/
vendor/psy/psysh/src/TabCompletion/Matcher/ClassAttributesMatcher.php
+++ b/
vendor/psy/psysh/src/TabCompletion/Matcher/ClassAttributesMatcher.php
@@
-54,7
+54,10
@@
class ClassAttributesMatcher extends AbstractMatcher
return array_map(
function ($name) use ($class) {
- return $class . '::' . $name;
+ $chunks = explode('\\', $class);
+ $className = array_pop($chunks);
+
+ return $className . '::' . $name;
},
array_filter(
$vars,