Skip to content

Commit

Permalink
Fixed PHPDoc of Validator::validate() method (jsonrainbow#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx authored and erayd committed Sep 25, 2019
1 parent 27cc889 commit 6bbd3d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/JsonSchema/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ class Validator extends BaseConstraint
* Both the php object and the schema are supposed to be a result of a json_decode call.
* The validation works as defined by the schema proposal in http://json-schema.org.
*
* Note that the first argument is passwd by reference, so you must pass in a variable.
*
* {@inheritdoc}
* Note that the first argument is passed by reference, so you must pass in a variable.
*/
public function validate(&$value, $schema = null, $checkMode = null)
{
Expand Down

0 comments on commit 6bbd3d1

Please sign in to comment.