Skip to content
Extraits de code Groupes Projets
Valider 62350c95 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

fix: Tolérance PHP 7.4

parent 3548dda6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -17,12 +17,12 @@ class Templating ...@@ -17,12 +17,12 @@ class Templating
$this->loader = $loader; $this->loader = $loader;
} }
public static function fromString(array $options = []): static public static function fromString(array $options = []): self
{ {
return new static(new StringLoader($options)); return new static(new StringLoader($options));
} }
public static function fromFile(): static public static function fromFile(): self
{ {
return new static(new FileLoader()); return new static(new FileLoader());
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter