File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,7 @@ private function getFiles(string $fileOrDirectory)
199199 }
200200 }
201201
202- /**
203- * @return string|null
204- */
205- private function getStdin ()
202+ private function getStdin (): ?string
206203 {
207204 if (0 !== ftell (STDIN )) {
208205 return null ;
Original file line number Diff line number Diff line change @@ -34,12 +34,7 @@ class Inline
3434 private static $ objectForMap = false ;
3535 private static $ constantSupport = false ;
3636
37- /**
38- * @param int $flags
39- * @param int|null $parsedLineNumber
40- * @param string|null $parsedFilename
41- */
42- public static function initialize ($ flags , $ parsedLineNumber = null , $ parsedFilename = null )
37+ public static function initialize (int $ flags , int $ parsedLineNumber = null , string $ parsedFilename = null )
4338 {
4439 self ::$ exceptionOnInvalidType = (bool ) (Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $ flags );
4540 self ::$ objectSupport = (bool ) (Yaml::PARSE_OBJECT & $ flags );
You can’t perform that action at this time.
0 commit comments