Skip to content

Commit 81b8083

Browse files
authored
Merge pull request #166 from eleven26/master
fix typo, fix param
2 parents 1509319 + 71518b7 commit 81b8083

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/Concerns/ProvidesConcurrencySupport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function concurrently(array $tasks, int $waitMilliseconds = 3000)
3131
/**
3232
* Get the task dispatcher.
3333
*
34-
* @return \Laravel\Contracts\Octane\DispatchesTasks
34+
* @return \Laravel\Octane\Contracts\DispatchesTasks
3535
*/
3636
public function tasks()
3737
{

src/Exceptions/TaskExceptionResult.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Laravel\Octane\Exceptions;
44

5-
use Throwable;
6-
75
class TaskExceptionResult
86
{
97
public function __construct(
@@ -40,7 +38,7 @@ public static function from($throwable)
4038
/**
4139
* Gets the original throwable.
4240
*
43-
* @return \Laravel\Octane\Exceptions\TaskException
41+
* @return \Laravel\Octane\Exceptions\TaskException|\Laravel\Octane\Exceptions\DdException
4442
*/
4543
public function getOriginal()
4644
{

src/Swoole/SwooleClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function respond(RequestContext $context, OctaneResponse $octaneResponse)
111111
/**
112112
* Send the headers from the Illuminate response to the Swoole response.
113113
*
114-
* @param \Symfony\Component\HtpFoundation\Response $response
114+
* @param \Symfony\Component\HttpFoundation\Response $response
115115
* @param \Swoole\Http\Response $response
116116
* @return void
117117
*/

tests/OctaneStoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function test_can_forget_cache_items()
156156
$this->assertNull($store->get('foo'));
157157

158158
$store->put('foo', 'bar', 5);
159-
$this->assertTrue($store->flush('foo'));
159+
$this->assertTrue($store->flush());
160160

161161
$this->assertNull($store->get('foo'));
162162
}

0 commit comments

Comments
 (0)