mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
fix dashes on the name and better error handling (#336)
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
trait HasScripts
|
||||
{
|
||||
private function getScript(string $name, array $vars = []): string
|
||||
protected function getScript(string $name, array $vars = []): string
|
||||
{
|
||||
$reflector = new ReflectionClass($this);
|
||||
$scriptsDir = dirname($reflector->getFileName()).'/scripts';
|
||||
|
Reference in New Issue
Block a user