We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | * @param int|callable $total |
| 91 | 91 | * @param array $callableArgs |
| 92 | 92 | * |
| 93 | - * @return Connection|object A connection or a promise |
|
| 93 | + * @return Connection A connection or a promise |
|
| 94 | 94 | */ |
| 95 | 95 | public function auto($args, $total, $callableArgs = []) |
| 96 | 96 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * @param Argument|array $args |
|
| 134 | + * @param Argument $args |
|
| 135 | 135 | * |
| 136 | 136 | * @return Argument |
| 137 | 137 | */ |
@@ -52,6 +52,9 @@ |
||
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @return string |
|
| 57 | + */ |
|
| 55 | 58 | private function guessTagName(Definition $definition) |
| 56 | 59 | { |
| 57 | 60 | $tagName = null; |
@@ -49,6 +49,9 @@ discard block |
||
| 49 | 49 | return $this->baseType($alias); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $alias |
|
| 54 | + */ |
|
| 52 | 55 | private function baseType($alias) |
| 53 | 56 | { |
| 54 | 57 | try { |
@@ -68,6 +71,9 @@ discard block |
||
| 68 | 71 | ); |
| 69 | 72 | } |
| 70 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $alias |
|
| 76 | + */ |
|
| 71 | 77 | private function wrapTypeIfNeeded($alias) |
| 72 | 78 | { |
| 73 | 79 | // Non-Null |
@@ -30,6 +30,10 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | abstract protected function getFunctions(); |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $expression |
|
| 35 | + * @param \PHPUnit\Framework\MockObject\Matcher\InvokedCount $expects |
|
| 36 | + */ |
|
| 33 | 37 | protected function assertExpressionCompile($expression, $with, array $expressionValues = [], $expects = null, $return = true, $assertMethod = 'assertTrue') |
| 34 | 38 | { |
| 35 | 39 | $expressionValues['container'] = $this->getDIContainerMock(['security.authorization_checker' => $this->getAuthorizationCheckerIsGrantedWithExpectation($with, $expects, $return)]); |
@@ -58,6 +58,9 @@ |
||
| 58 | 58 | return $this->createResponse($request, $schemaName, true); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param boolean $batched |
|
| 63 | + */ |
|
| 61 | 64 | private function createResponse(Request $request, $schemaName, $batched) |
| 62 | 65 | { |
| 63 | 66 | if ('OPTIONS' === $request->getMethod()) { |