Skip to content

Commit 60d9caa

Browse files
author
Michael Chiocca
committed
Fix Scrutinizer errors.
1 parent c8f0f00 commit 60d9caa

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/JsonSchema/Constraints/Undefined.php

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public function check($value, $schema = null, $path = null, $i = null)
4040
/**
4141
* Validates the value against the types
4242
*
43-
* @param mixed $value
44-
* @param \stdClass $schema
45-
* @param string $path
46-
* @param string $i
43+
* @param $value
44+
* @param null $schema
45+
* @param null $path
46+
* @param null $i
4747
*/
4848
public function validateTypes($value, $schema = null, $path = null, $i = null)
4949
{
@@ -82,10 +82,10 @@ public function validateTypes($value, $schema = null, $path = null, $i = null)
8282
/**
8383
* Validates common properties
8484
*
85-
* @param mixed $value
86-
* @param \stdClass $schema
87-
* @param string $path
88-
* @param string $i
85+
* @param $value
86+
* @param null $schema
87+
* @param null $path
88+
* @param null $i
8989
*/
9090
protected function validateCommonProperties($value, $schema = null, $path = null, $i = null)
9191
{
@@ -141,9 +141,11 @@ protected function validateCommonProperties($value, $schema = null, $path = null
141141
}
142142

143143
/**
144-
* @param \stdClass $value Element to validate
145-
* @param mixed $dependencies Dependencies
146-
* @param string $path Path?
144+
* Validate dependencies
145+
*
146+
* @param $value
147+
* @param null $dependencies
148+
* @param null $path
147149
*/
148150
protected function validateDependencies($value, $dependencies, $path)
149151
{

0 commit comments

Comments
 (0)