We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | * @param GraphQLError[] $errors |
| 96 | 96 | * @param bool $throwRawException |
| 97 | 97 | * |
| 98 | - * @return array |
|
| 98 | + * @return callable |
|
| 99 | 99 | * |
| 100 | 100 | * @throws \Error|\Exception |
| 101 | 101 | */ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @param \Throwable $throwable |
|
| 51 | + * @param \Exception $throwable |
|
| 52 | 52 | * @param string $errorLevel |
| 53 | 53 | */ |
| 54 | 54 | public function log($throwable, $errorLevel = LogLevel::ERROR) |
@@ -67,6 +67,9 @@ |
||
| 67 | 67 | ]; |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $message |
|
| 72 | + */ |
|
| 70 | 73 | private static function createError($message, \Exception $exception = null) |
| 71 | 74 | { |
| 72 | 75 | return new Error($message, null, null, null, null, $exception); |