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
/
phpspec
/
prophecy
/
src
/
Prophecy
/
Argument
/
Token
/
StringContainsToken.php
diff --git
a/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php
b/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php
index 24ff8c2ecf54e38fab010d4b3aae84343bf1e40e..bd8d423f9164216165be17a6fe1cf743a0045c7d 100644
(file)
--- a/
vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php
+++ b/
vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php
@@
-32,7
+32,7
@@
class StringContainsToken implements TokenInterface
public function scoreArgument($argument)
{
- return strpos($argument, $this->value) !== false ? 6 : false;
+ return
is_string($argument) &&
strpos($argument, $this->value) !== false ? 6 : false;
}
/**