Laravel 9 Update (#1413)

Update to Laravel 9 and PHP 8+

Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
This commit is contained in:
Nabeel S
2022-03-14 11:45:18 -04:00
committed by GitHub
parent 00bf18c225
commit 12848091a2
340 changed files with 6130 additions and 4502 deletions

View File

@@ -18,12 +18,13 @@ class ThemeViewFinder extends \Igaster\LaravelTheme\themeViewFinder
* Override findNamespacedView() to add "Theme/vendor/..." paths
*
* @param string $name
*
* @return string
*/
protected function findNamespacedView($name)
protected function findNamespacedView($name): string
{
// Extract the $view and the $namespace parts
list($namespace, $view) = $this->parseNamespaceSegments($name);
[$namespace, $view] = $this->parseNamespaceSegments($name);
$paths = $this->addThemeNamespacePaths($namespace);
@@ -84,6 +85,7 @@ class ThemeViewFinder extends \Igaster\LaravelTheme\themeViewFinder
$paths = Arr::prepend($paths, $path);
}
}
return $paths;
}
}