Completed
Pull Request — master (#58)
by Timothy
02:21
created
src/Middleware/JsonValidator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param \stdClass $schema
35
-     * @return static|callable
35
+     * @return JsonValidator
36 36
      */
37 37
     public static function fromDecodedObject(\stdClass $schema)
38 38
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param \SplFileObject $file
44
-     * @return static|callable
44
+     * @return JsonValidator
45 45
      */
46 46
     public static function fromFile(\SplFileObject $file)
47 47
     {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @param string $json
57
-     * @return static|callable
57
+     * @return JsonValidator
58 58
      */
59 59
     public static function fromEncodedString($json)
60 60
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * @param array $json
66
-     * @return static|callable
66
+     * @return JsonValidator
67 67
      */
68 68
     public static function fromArray(array $json)
69 69
     {
Please login to merge, or discard this patch.