1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 21:18:23 +01:00

make cs-fix

This commit is contained in:
Filip Halaxa 2022-01-23 12:38:20 +01:00
parent caaa4d7e73
commit c549c323e5
2 changed files with 3 additions and 3 deletions

View File

@ -375,7 +375,7 @@ class Parser implements \IteratorAggregate, PositionAware
public function getCurrentJsonPointer(): string
{
if ($this->currentPath === null) {
throw new JsonMachineException(__METHOD__ . ' must be called inside a loop');
throw new JsonMachineException(__METHOD__.' must be called inside a loop');
}
return self::pathToJsonPointer($this->currentPath);
@ -384,7 +384,7 @@ class Parser implements \IteratorAggregate, PositionAware
public function getMatchedJsonPointer(): string
{
if ($this->matchedJsonPointer === null) {
throw new JsonMachineException(__METHOD__ . ' must be called inside a loop');
throw new JsonMachineException(__METHOD__.' must be called inside a loop');
}
return $this->matchedJsonPointer;

View File

@ -85,7 +85,7 @@ final class ValidJsonPointers
}
/**
* https://github.com/symfony/polyfill/blob/v1.24.0/src/Php80/Php80.php
* @see https://github.com/symfony/polyfill/blob/v1.24.0/src/Php80/Php80.php
*/
public static function str_contains(string $haystack, string $needle): bool
{