PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/s3/Aws/MockHandler.php +2 -2 1.2.13 → 1.4.2 View file →
@@ -26,9 +26,9 @@
26 26 * @param array $resultOrQueue
27 27 * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
28 28 * @param callable $onRejected Callback to invoke when the return value is rejected.
29 29 */
30 - public function __construct(array $resultOrQueue = [], callable $onFulfilled = null, callable $onRejected = null)
30 + public function __construct(array $resultOrQueue = [], ?callable $onFulfilled = null, ?callable $onRejected = null)
31 31 {
32 32 $this->queue = [];
33 33 $this->onFulfilled = $onFulfilled;
34 34 $this->onRejected = $onRejected;
@@ -94,9 +94,9 @@
94 94 }
95 95 /**
96 96 * Get the last received request.
97 97 *
98 - * @return RequestInterface
98 + * @return RequestInterface|null
99 99 */
100 100 public function getLastRequest()
101 101 {
102 102 return $this->lastRequest;