File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ public function __construct(string $tempDir = null)
39
39
*/
40
40
public function getConfigSchema (): Nette \Schema \Schema
41
41
{
42
- $ debugMode = $ this ->parameters ['debugMode ' ] ?? $ this ->parameters ['env ' ]['DEBUG ' ];
42
+ $ debugMode = $ this ->getContainerBuilder ()->parameters ['debugMode ' ]
43
+ ?? $ this ->getContainerBuilder ()->parameters ['env ' ]['DEBUG ' ];
43
44
44
45
return Nette \Schema \Expect::structure ([
45
46
'caching ' => Nette \Schema \Expect::structure ([
@@ -104,9 +105,6 @@ public function loadConfiguration(): void
104
105
->setType (BiuradPHP \Http \Interfaces \Psr17Interface::class)
105
106
->setFactory (BiuradPHP \Http \Factories \GuzzleHttpPsr7Factory::class);
106
107
107
- $ builder ->addDefinition ($ this ->prefix ('pipeline ' ))
108
- ->setFactory (BiuradPHP \Http \Pipeline::class);
109
-
110
108
$ builder ->addDefinition ($ this ->prefix ('request ' ))
111
109
->setType (\Psr \Http \Message \ServerRequestInterface::class)
112
110
->setFactory (new Statement ([new Reference ($ this ->prefix ('factory ' )), 'fromGlobalRequest ' ]));
You can’t perform that action at this time.
0 commit comments