File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class Mutex
38
38
*/
39
39
public function __construct (Command $ command )
40
40
{
41
- /** @var WithoutOverlapping $command */
41
+ /** @var Command| WithoutOverlapping $command */
42
42
$ this ->command = $ command ;
43
43
44
44
$ mutexName = $ command ->getMutexName ();
@@ -65,7 +65,7 @@ public function getNinjaMutexLock(): LockAbstract
65
65
]),
66
66
config ('database.connections.mysql.username ' ),
67
67
config ('database.connections.mysql.password ' ),
68
- config ('database.connections.mysql.options ' )
68
+ config ('database.connections.mysql.options ' ),
69
69
);
70
70
71
71
case 'redis ' :
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public function it_supports_mysql_strategy()
72
72
]),
73
73
config ('database.connections.mysql.username ' ),
74
74
config ('database.connections.mysql.password ' ),
75
- config ('database.connections.mysql.options ' )
75
+ config ('database.connections.mysql.options ' ),
76
76
);
77
77
$ this ->assertEquals ($ expectedLock , $ mutex ->getNinjaMutexLock ());
78
78
}
You can’t perform that action at this time.
0 commit comments