@@ -123,9 +123,9 @@ public static function make(
123123 */
124124 public function __construct (
125125 Configuration $ config ,
126- ResolverInterface $ resolver = null ,
127- GuzzleHttp \ ClientInterface $ guzzle = null ,
128- ShutdownStrategyInterface $ shutdownStrategy = null
126+ $ resolver = null ,
127+ $ guzzle = null ,
128+ $ shutdownStrategy = null
129129 ) {
130130 $ guzzle = $ guzzle ?: self ::makeGuzzle ();
131131
@@ -271,10 +271,10 @@ public function registerCallback(callable $callback)
271271 public function registerDefaultCallbacks ()
272272 {
273273 $ this ->registerCallback (new GlobalMetaData ($ this ->config ))
274- ->registerCallback (new RequestMetaData ($ this ->resolver ))
275- ->registerCallback (new RequestSession ($ this ->resolver ))
276- ->registerCallback (new RequestUser ($ this ->resolver ))
277- ->registerCallback (new RequestContext ($ this ->resolver ));
274+ ->registerCallback (new RequestMetaData ($ this ->resolver ))
275+ ->registerCallback (new RequestSession ($ this ->resolver ))
276+ ->registerCallback (new RequestUser ($ this ->resolver ))
277+ ->registerCallback (new RequestContext ($ this ->resolver ));
278278
279279 return $ this ;
280280 }
@@ -327,7 +327,7 @@ public function clearBreadcrumbs()
327327 *
328328 * @return void
329329 */
330- public function notifyException ($ throwable , callable $ callback = null )
330+ public function notifyException ($ throwable , $ callback = null )
331331 {
332332 $ report = Report::fromPHPThrowable ($ this ->config , $ throwable );
333333
@@ -343,7 +343,7 @@ public function notifyException($throwable, callable $callback = null)
343343 *
344344 * @return void
345345 */
346- public function notifyError ($ name , $ message , callable $ callback = null )
346+ public function notifyError ($ name , $ message , $ callback = null )
347347 {
348348 $ report = Report::fromNamedError ($ this ->config , $ name , $ message );
349349
@@ -360,7 +360,7 @@ public function notifyError($name, $message, callable $callback = null)
360360 *
361361 * @return void
362362 */
363- public function notify (Report $ report , callable $ callback = null )
363+ public function notify (Report $ report , $ callback = null )
364364 {
365365 $ this ->pipeline ->execute ($ report , function ($ report ) use ($ callback ) {
366366 if ($ callback ) {
@@ -511,7 +511,7 @@ public function isBatchSending()
511511 *
512512 * @return $this
513513 */
514- public function setNotifyReleaseStages (array $ notifyReleaseStages = null )
514+ public function setNotifyReleaseStages ($ notifyReleaseStages = null )
515515 {
516516 $ this ->config ->setNotifyReleaseStages ($ notifyReleaseStages );
517517
0 commit comments