summaryrefslogtreecommitdiffstats
path: root/phpdoc-php-warning-count-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'phpdoc-php-warning-count-fix.patch')
-rw-r--r--phpdoc-php-warning-count-fix.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/phpdoc-php-warning-count-fix.patch b/phpdoc-php-warning-count-fix.patch
deleted file mode 100644
index a307863..0000000
--- a/phpdoc-php-warning-count-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php b/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php
-index 1e31c932..4baf2fb4 100644
---- a/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php
-+++ b/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php
-@@ -30,7 +30,7 @@ class IsArgumentInDocBlockValidator extends ConstraintValidator
- */
- public function validate($value, Constraint $constraint)
- {
-- if ($value instanceof ValidationValueObject && count($value->argument) > 0) {
-+ if ($value instanceof ValidationValueObject && $value->argument instanceof Countable && count($value->argument) > 0) {
- $argument = $value->argument;
- /* @var $params \phpDocumentor\Descriptor\Collection */
- $params = $value->parameters;