| @@ 87-89 (lines=3) @@ | ||
| 84 | throw new \LogicException('Loaders has to be array'); |
|
| 85 | } |
|
| 86 | ||
| 87 | if (false === \array_key_exists('default', $v['loaders'])) { |
|
| 88 | $v['loaders']['default'] = ['filesystem' => null]; |
|
| 89 | } |
|
| 90 | ||
| 91 | if (empty($v['resolvers'])) { |
|
| 92 | $v['resolvers'] = []; |
|
| @@ 99-101 (lines=3) @@ | ||
| 96 | throw new \LogicException('Resolvers has to be array'); |
|
| 97 | } |
|
| 98 | ||
| 99 | if (false === \array_key_exists('default', $v['resolvers'])) { |
|
| 100 | $v['resolvers']['default'] = ['web_path' => null]; |
|
| 101 | } |
|
| 102 | ||
| 103 | return $v; |
|
| 104 | }) |
|