projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
psy
/
psysh
/
src
/
Psy
/
TabCompletion
/
Matcher
/
MongoDatabaseMatcher.php
diff --git
a/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/MongoDatabaseMatcher.php
b/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/MongoDatabaseMatcher.php
index 31aef898d1b2432cd0904adfbf156d53ac82cf58..8494067bf9a7d625f71fbd70e4c1bc97961b2f74 100644
(file)
--- a/
vendor/psy/psysh/src/Psy/TabCompletion/Matcher/MongoDatabaseMatcher.php
+++ b/
vendor/psy/psysh/src/Psy/TabCompletion/Matcher/MongoDatabaseMatcher.php
@@
-33,8
+33,8
@@
class MongoDatabaseMatcher extends AbstractContextAwareMatcher
array_pop($tokens);
}
$objectToken = array_pop($tokens);
array_pop($tokens);
}
$objectToken = array_pop($tokens);
- $objectName = str_replace('$', '', $objectToken[1]);
- $object = $this->getVariable($objectName);
+ $objectName
= str_replace('$', '', $objectToken[1]);
+ $object
= $this->getVariable($objectName);
if (!$object instanceof \MongoDB) {
return array();
if (!$object instanceof \MongoDB) {
return array();
@@
-53,7
+53,7
@@
class MongoDatabaseMatcher extends AbstractContextAwareMatcher
*/
public function hasMatched(array $tokens)
{
*/
public function hasMatched(array $tokens)
{
- $token = array_pop($tokens);
+ $token
= array_pop($tokens);
$prevToken = array_pop($tokens);
switch (true) {
$prevToken = array_pop($tokens);
switch (true) {