Skip to content

Commit

Permalink
remove Memcache patch
Browse files Browse the repository at this point in the history
  • Loading branch information
schlndh committed Nov 16, 2023
1 parent a999dbe commit f54bcec
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
"patches/Stream.patch"
],
"jetbrains/phpstorm-stubs": [
"patches/Memcache.patch",
"patches/PDO.patch",
"patches/ReflectionProperty.patch",
"patches/SessionHandler.patch"
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions patches/Memcache.patch

This file was deleted.

2 changes: 1 addition & 1 deletion src/Reflection/Php/PhpClassReflectionExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ private function createMethod(
$throwType = $throwsTag->getType();
}
$returnTag = $phpDocBlock->getReturnTag();
if ($returnTag !== null) {
if ($returnTag !== null && count($methodSignatures) === 1) {
$phpDocReturnType = $returnTag->getType();
}
foreach ($phpDocBlock->getParamTags() as $name => $paramTag) {
Expand Down

0 comments on commit f54bcec

Please sign in to comment.