Skip to content

Commit 97048df

Browse files
committed
wip
1 parent b4b4e40 commit 97048df

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Queue/Adapters/BeanstalkdAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

tests/Queue/EventQueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class EventQueueTest extends TestCase
2020
{
21-
private static $connection;
21+
private static Connection $connection;
2222

2323
public static function setUpBeforeClass(): void
2424
{

tests/Queue/QueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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";

0 commit comments

Comments
 (0)