Larval framework upated to v5.6.33
Updated laravel frameowrk version to as suggested for security patch update which was released in v5.6.30
This commit is contained in:
9
vendor/lcobucci/jwt/src/Signer/Key.php
vendored
9
vendor/lcobucci/jwt/src/Signer/Key.php
vendored
@@ -61,9 +61,14 @@ final class Key
|
||||
private function readFile($content)
|
||||
{
|
||||
try {
|
||||
$file = new SplFileObject(substr($content, 7));
|
||||
$file = new SplFileObject(substr($content, 7));
|
||||
$content = '';
|
||||
|
||||
return $file->fread($file->getSize());
|
||||
while (! $file->eof()) {
|
||||
$content .= $file->fgets();
|
||||
}
|
||||
|
||||
return $content;
|
||||
} catch (Exception $exception) {
|
||||
throw new InvalidArgumentException('You must inform a valid key file', 0, $exception);
|
||||
}
|
||||
|
Reference in New Issue
Block a user