Skip to content

Commit

Permalink
Force nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Dec 2, 2024
1 parent 9f78095 commit e6f80e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Edge.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ class Edge
/**
* EdgeEnvironment constructor.
*
* @param EdgeLoaderInterface|null $loader
* @param EdgeCacheInterface|null $cache
* @param EdgeCompilerInterface|null $compiler
* @param EdgeLoaderInterface|null $loader
* @param EdgeCacheInterface|null $cache
* @param EdgeCompilerInterface|null $compiler
*/
public function __construct(
EdgeLoaderInterface $loader = null,
EdgeCacheInterface $cache = null,
EdgeCompilerInterface $compiler = null
?EdgeLoaderInterface $loader = null,
?EdgeCacheInterface $cache = null,
?EdgeCompilerInterface $compiler = null
) {
$this->loader = $loader ?: new EdgeStringLoader();
$this->compiler = $compiler ?: new EdgeCompiler();
Expand Down

0 comments on commit e6f80e7

Please sign in to comment.