@@ -9,8 +9,6 @@ |
||
9 | 9 | use Composer\Autoload\ClassLoader; |
10 | 10 | use Doctrine\Common\Annotations\AnnotationRegistry; |
11 | 11 | use Doctrine\Common\Annotations\AnnotationReader; |
12 | -use Doctrine\Common\Cache\ApcCache; |
|
13 | -use Doctrine\Common\Cache\FilesystemCache; |
|
14 | 12 | use BEAR\Package\Module\Di\DiCompilerProvider; |
15 | 13 | use Doctrine\Common\Cache\Cache; |
16 | 14 |
@@ -127,7 +127,7 @@ |
||
127 | 127 | /** |
128 | 128 | * @param string $uri |
129 | 129 | * |
130 | - * @return array [$filePath, $fileContents] |
|
130 | + * @return string[] [$filePath, $fileContents] |
|
131 | 131 | * @throws InvalidUri |
132 | 132 | */ |
133 | 133 | public function getNewResource($uri) |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | /** |
81 | 81 | * Set response |
82 | 82 | * |
83 | - * @param mixed $exceptionTpl |
|
83 | + * @param string $exceptionTpl |
|
84 | 84 | * @param ResponseInterface $response |
85 | 85 | * @param ResourceObject $errorPage |
86 | 86 | * |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * Return error page |
126 | 126 | * |
127 | - * @param $e |
|
127 | + * @param Exception $e |
|
128 | 128 | * @param \BEAR\Resource\ResourceObject $response |
129 | 129 | * |
130 | 130 | * @return \BEAR\Resource\ResourceObject |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Return log file path |
242 | 242 | * |
243 | - * @param $exceptionId |
|
243 | + * @param string $exceptionId |
|
244 | 244 | * |
245 | 245 | * @return string |
246 | 246 | */ |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use BEAR\Resource\Exception\ResourceNotFound; |
14 | 14 | use BEAR\Resource\Exception\Scheme; |
15 | 15 | use BEAR\Resource\Exception\Uri; |
16 | -use BEAR\Sunday\Exception\LogicException; |
|
17 | 16 | use BEAR\Sunday\Extension\WebResponse\ResponseInterface; |
18 | 17 | use BEAR\Sunday\Inject\LogDirInject; |
19 | 18 | use Exception; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use Ray\Aop\MethodInterceptor; |
10 | 10 | use Ray\Aop\MethodInvocation; |
11 | 11 | use Ray\Di\Di\Inject; |
12 | -use Ray\Di\Di\Named; |
|
13 | 12 | use ReflectionMethod; |
14 | 13 | use Doctrine\Common\Cache\Cache; |
15 | 14 |
@@ -173,7 +173,7 @@ |
||
173 | 173 | * |
174 | 174 | * @param $query |
175 | 175 | * |
176 | - * @return mixed |
|
176 | + * @return string |
|
177 | 177 | */ |
178 | 178 | public function getPagerQuery($query) |
179 | 179 | { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @param string $appName |
48 | - * @param string|string[] $context |
|
48 | + * @param string $context |
|
49 | 49 | * @param string $tmpDir |
50 | 50 | * @param Cache $cache |
51 | 51 | * |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Ray\Aop\MethodInvocation; |
11 | 11 | use Aura\Input\Form; |
12 | 12 | use Ray\Di\Di\Inject; |
13 | -use Ray\Di\Di\Named; |
|
14 | 13 | use Aura\Session\Manager as Session; |
15 | 14 | use BEAR\Package\Module\Session\AuraSession\AntiCsrf; |
16 | 15 |
@@ -6,10 +6,7 @@ |
||
6 | 6 | */ |
7 | 7 | namespace BEAR\Package\Module\Resource; |
8 | 8 | |
9 | -use BEAR\Package\Provide as ProvideModule; |
|
10 | -use BEAR\Sunday\Module as SundayModule; |
|
11 | 9 | use Ray\Di\AbstractModule; |
12 | -use Ray\Di\Scope; |
|
13 | 10 | |
14 | 11 | class ResourceGraphModule extends AbstractModule |
15 | 12 | { |
@@ -10,11 +10,9 @@ |
||
10 | 10 | use Aura\Signal\Manager; |
11 | 11 | use Aura\Signal\ResultCollection; |
12 | 12 | use Aura\Signal\ResultFactory; |
13 | -use BEAR\Package\Provide as ProvideModule; |
|
14 | 13 | use BEAR\Resource\Param; |
15 | 14 | use BEAR\Resource\SignalParameter; |
16 | 15 | use BEAR\Resource\ParamProviderInterface; |
17 | -use BEAR\Sunday\Module as SundayModule; |
|
18 | 16 | use Ray\Di\InstanceInterface; |
19 | 17 | use Ray\Di\ProviderInterface; |
20 | 18 | use Ray\Di\Di\Inject; |