File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class JsonParser
3636
3737 /**
3838 * @var int
39- * @psalm -var int-mask-of<self::*>
39+ * @phpstan -var int-mask-of<self::*>
4040 */
4141 private $ flags ;
4242 /** @var list<int> */
@@ -177,6 +177,8 @@ class JsonParser
177177 * @param string $input JSON string
178178 * @param int $flags Bitmask of parse/lint options (see constants of this class)
179179 * @return null|ParsingException null if no error is found, a ParsingException containing all details otherwise
180+ *
181+ * @phpstan-param int-mask-of<self::*> $flags
180182 */
181183 public function lint ($ input , $ flags = 0 )
182184 {
@@ -193,6 +195,8 @@ public function lint($input, $flags = 0)
193195 * @param int $flags Bitmask of parse/lint options (see constants of this class)
194196 * @return mixed
195197 * @throws ParsingException
198+ *
199+ * @phpstan-param int-mask-of<self::*> $flags
196200 */
197201 public function parse ($ input , $ flags = 0 )
198202 {
You can’t perform that action at this time.
0 commit comments