File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public function run(string $queue = null): void
130130 } catch (Throwable $ e ) {
131131 // Write the error log
132132 error_log ($ e ->getMessage ());
133- app ( ' logger ' )->error ($ e ->getMessage (), $ e ->getTrace ());
133+ logger ( )->error ($ e ->getMessage (), $ e ->getTrace ());
134134 cache ("job:failed: " . $ job ->getId (), $ job ->getData ());
135135
136136 // Check if producer has been loaded
Original file line number Diff line number Diff line change 1818
1919class EventQueueTest extends TestCase
2020{
21- private static $ connection ;
21+ private static Connection $ connection ;
2222
2323 public static function setUpBeforeClass (): void
2424 {
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function test_instance_of_adapter($connection)
8181 * @param string $connection
8282 * @return void
8383 */
84- public function test_push_service_adapter ($ connection )
84+ public function test_push_service_adapter (string $ connection )
8585 {
8686 $ adapter = static ::$ connection ->setConnection ($ connection )->getAdapter ();
8787 $ filename = TESTING_RESOURCE_BASE_DIRECTORY . "/ {$ connection }_producer.txt " ;
You can’t perform that action at this time.
0 commit comments