@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Traces constructor. |
| 34 | 34 | * |
| 35 | - * @param array|null $traces Array of Trace objects |
|
| 35 | + * @param Trace[] $traces Array of Trace objects |
|
| 36 | 36 | * @see \CakeCharts\Utility\Trace |
| 37 | 37 | */ |
| 38 | 38 | public function __construct(array $traces = null) |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * @return \Exception|string Encountered error, if any |
|
| 77 | + * @return \Exception|null Encountered error, if any |
|
| 78 | 78 | */ |
| 79 | 79 | public function getError() |
| 80 | 80 | { |