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:
Manish Verma
2018-08-15 18:38:24 +05:30
parent 5d3ffdf379
commit 8148bbd920
319 changed files with 647 additions and 1078 deletions

View File

@@ -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);
}