Conditions | 1 |
Paths | 1 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
Metric | Value |
---|---|
dl | 0 |
loc | 4 |
ccs | 0 |
cts | 0 |
cp | 0 |
rs | 10 |
c | 0 |
b | 0 |
f | 0 |
cc | 1 |
eloc | 2 |
nc | 1 |
nop | 1 |
crap | 2 |
1 | <?php |
||
2 | declare(strict_types = 1); |
||
3 | |||
4 | namespace Innmind\AMQP\Transport\Protocol\v091; |
||
5 | |||
6 | use Innmind\AMQP\Transport\Frame\Method; |
||
7 | use Innmind\Immutable\{ |
||
8 | MapInterface, |
||
9 | Map |
||
10 | }; |
||
11 | |||
12 | final class Methods |
||
13 | { |
||
14 | private static $all; |
||
15 | private static $classes; |
||
16 | |||
17 | 64 | public static function get(string $method): Method |
|
18 | { |
||
19 | 64 | return self::all()->get($method); |
|
1 ignored issue
–
show
|
|||
20 | } |
||
21 | |||
22 | public static function class(Method $method): string |
||
0 ignored issues
–
show
|
|||
23 | { |
||
24 | return self::classes()->get($method->class()); |
||
1 ignored issue
–
show
$method->class() is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return MapInterface<string, Method> |
||
1 ignored issue
–
show
The doc-type
MapInterface<string, could not be parsed: Expected "|" or "end of type", but got "<" at position 12. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. ![]() |
|||
29 | */ |
||
30 | 64 | public static function all(): MapInterface |
|
31 | { |
||
32 | 64 | if (!self::$all instanceof MapInterface) { |
|
33 | 1 | self::$all = (new Map('string', Method::class)) |
|
34 | 1 | ->put('connection.start', new Method(10, 10)) |
|
2 ignored issues
–
show
'connection.start' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 10) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
35 | 1 | ->put('connection.start-ok', new Method(10, 11)) |
|
2 ignored issues
–
show
'connection.start-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 11) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
36 | 1 | ->put('connection.secure', new Method(10, 20)) |
|
2 ignored issues
–
show
'connection.secure' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 20) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
37 | 1 | ->put('connection.secure-ok', new Method(10, 21)) |
|
2 ignored issues
–
show
'connection.secure-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 21) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
38 | 1 | ->put('connection.tune', new Method(10, 30)) |
|
2 ignored issues
–
show
'connection.tune' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 30) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
39 | 1 | ->put('connection.tune-ok', new Method(10, 31)) |
|
2 ignored issues
–
show
'connection.tune-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 31) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
40 | 1 | ->put('connection.open', new Method(10, 40)) |
|
2 ignored issues
–
show
'connection.open' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 40) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
41 | 1 | ->put('connection.open-ok', new Method(10, 41)) |
|
2 ignored issues
–
show
'connection.open-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 41) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
42 | 1 | ->put('connection.close', new Method(10, 50)) |
|
2 ignored issues
–
show
'connection.close' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 50) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
43 | 1 | ->put('connection.close-ok', new Method(10, 51)) |
|
2 ignored issues
–
show
'connection.close-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(10, 51) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
44 | 1 | ->put('channel.open', new Method(20, 10)) |
|
2 ignored issues
–
show
'channel.open' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(20, 10) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
45 | 1 | ->put('channel.open-ok', new Method(20, 11)) |
|
2 ignored issues
–
show
'channel.open-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(20, 11) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
46 | 1 | ->put('channel.flow', new Method(20, 20)) |
|
2 ignored issues
–
show
'channel.flow' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(20, 20) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
47 | 1 | ->put('channel.flow-ok', new Method(20, 21)) |
|
2 ignored issues
–
show
'channel.flow-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(20, 21) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
48 | 1 | ->put('channel.close', new Method(20, 40)) |
|
2 ignored issues
–
show
'channel.close' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(20, 40) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
49 | 1 | ->put('channel.close-ok', new Method(20, 41)) |
|
2 ignored issues
–
show
'channel.close-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(20, 41) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
50 | 1 | ->put('exchange.declare', new Method(40, 10)) |
|
2 ignored issues
–
show
'exchange.declare' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(40, 10) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
51 | 1 | ->put('exchange.declare-ok', new Method(40, 11)) |
|
2 ignored issues
–
show
'exchange.declare-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(40, 11) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
52 | 1 | ->put('exchange.delete', new Method(40, 20)) |
|
2 ignored issues
–
show
'exchange.delete' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(40, 20) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
53 | 1 | ->put('exchange.delete-ok', new Method(40, 21)) |
|
2 ignored issues
–
show
'exchange.delete-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(40, 21) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
54 | 1 | ->put('queue.declare', new Method(50, 10)) |
|
2 ignored issues
–
show
'queue.declare' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 10) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
55 | 1 | ->put('queue.declare-ok', new Method(50, 11)) |
|
2 ignored issues
–
show
'queue.declare-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 11) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
56 | 1 | ->put('queue.bind', new Method(50, 20)) |
|
2 ignored issues
–
show
'queue.bind' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 20) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
57 | 1 | ->put('queue.bind-ok', new Method(50, 21)) |
|
2 ignored issues
–
show
'queue.bind-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 21) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
58 | 1 | ->put('queue.unbind', new Method(50, 50)) |
|
2 ignored issues
–
show
'queue.unbind' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 50) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
59 | 1 | ->put('queue.unbind-ok', new Method(50, 51)) |
|
2 ignored issues
–
show
'queue.unbind-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 51) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
60 | 1 | ->put('queue.purge', new Method(50, 30)) |
|
2 ignored issues
–
show
'queue.purge' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 30) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
61 | 1 | ->put('queue.purge-ok', new Method(50, 31)) |
|
2 ignored issues
–
show
'queue.purge-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 31) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
62 | 1 | ->put('queue.delete', new Method(50, 40)) |
|
2 ignored issues
–
show
'queue.delete' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 40) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
63 | 1 | ->put('queue.delete-ok', new Method(50, 41)) |
|
2 ignored issues
–
show
'queue.delete-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(50, 41) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
64 | 1 | ->put('basic.qos', new Method(60, 10)) |
|
2 ignored issues
–
show
'basic.qos' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 10) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
65 | 1 | ->put('basic.qos-ok', new Method(60, 11)) |
|
2 ignored issues
–
show
'basic.qos-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 11) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
66 | 1 | ->put('basic.consume', new Method(60, 20)) |
|
2 ignored issues
–
show
'basic.consume' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 20) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
67 | 1 | ->put('basic.consume-ok', new Method(60, 21)) |
|
2 ignored issues
–
show
'basic.consume-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 21) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
68 | 1 | ->put('basic.cancel', new Method(60, 30)) |
|
2 ignored issues
–
show
'basic.cancel' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 30) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
69 | 1 | ->put('basic.cancel-ok', new Method(60, 31)) |
|
2 ignored issues
–
show
'basic.cancel-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 31) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
70 | 1 | ->put('basic.publish', new Method(60, 40)) |
|
2 ignored issues
–
show
'basic.publish' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 40) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
71 | 1 | ->put('basic.return', new Method(60, 50)) |
|
2 ignored issues
–
show
'basic.return' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 50) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
72 | 1 | ->put('basic.deliver', new Method(60, 60)) |
|
2 ignored issues
–
show
'basic.deliver' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 60) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
73 | 1 | ->put('basic.get', new Method(60, 70)) |
|
2 ignored issues
–
show
'basic.get' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 70) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
74 | 1 | ->put('basic.get-ok', new Method(60, 71)) |
|
2 ignored issues
–
show
'basic.get-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 71) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
75 | 1 | ->put('basic.get-empty', new Method(60, 72)) |
|
2 ignored issues
–
show
'basic.get-empty' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 72) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
76 | 1 | ->put('basic.ack', new Method(60, 80)) |
|
2 ignored issues
–
show
'basic.ack' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 80) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
77 | 1 | ->put('basic.reject', new Method(60, 90)) |
|
2 ignored issues
–
show
'basic.reject' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 90) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
78 | 1 | ->put('basic.recover-async', new Method(60, 100)) |
|
2 ignored issues
–
show
'basic.recover-async' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 100) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
79 | 1 | ->put('basic.recover', new Method(60, 110)) |
|
2 ignored issues
–
show
'basic.recover' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 110) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
80 | 1 | ->put('basic.recover-ok', new Method(60, 111)) |
|
2 ignored issues
–
show
'basic.recover-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(60, 111) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
81 | 1 | ->put('tx.select', new Method(90, 10)) |
|
2 ignored issues
–
show
'tx.select' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(90, 10) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
82 | 1 | ->put('tx.select-ok', new Method(90, 11)) |
|
2 ignored issues
–
show
'tx.select-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(90, 11) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
83 | 1 | ->put('tx.commit', new Method(90, 20)) |
|
2 ignored issues
–
show
'tx.commit' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(90, 20) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
84 | 1 | ->put('tx.commit-ok', new Method(90, 21)) |
|
2 ignored issues
–
show
'tx.commit-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(90, 21) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
85 | 1 | ->put('tx.rollback', new Method(90, 30)) |
|
2 ignored issues
–
show
'tx.rollback' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(90, 30) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
86 | 1 | ->put('tx.rollback-ok', new Method(90, 31)); |
|
2 ignored issues
–
show
'tx.rollback-ok' is of type string , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() new \Innmind\AMQP\Transport\Frame\Method(90, 31) is of type object<Innmind\AMQP\Transport\Frame\Method> , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
87 | } |
||
88 | |||
89 | 64 | return self::$all; |
|
90 | } |
||
91 | |||
92 | /** |
||
93 | * @return MapInterface<int, string> |
||
1 ignored issue
–
show
The doc-type
MapInterface<int, could not be parsed: Expected "|" or "end of type", but got "<" at position 12. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types. ![]() |
|||
94 | */ |
||
95 | 29 | public static function classes(): MapInterface |
|
96 | { |
||
97 | 29 | if (is_null(self::$classes)) { |
|
98 | 1 | self::$classes = (new Map('int', 'string')) |
|
99 | 1 | ->put(10, 'connection') |
|
2 ignored issues
–
show
10 is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() 'connection' is of type string , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
100 | 1 | ->put(20, 'channel') |
|
2 ignored issues
–
show
20 is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() 'channel' is of type string , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
101 | 1 | ->put(40, 'exchange') |
|
2 ignored issues
–
show
40 is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() 'exchange' is of type string , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
102 | 1 | ->put(50, 'queue') |
|
2 ignored issues
–
show
50 is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() 'queue' is of type string , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
103 | 1 | ->put(60, 'basic') |
|
2 ignored issues
–
show
60 is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() 'basic' is of type string , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
104 | 1 | ->put(90, 'tx'); |
|
2 ignored issues
–
show
90 is of type integer , but the function expects a object<Innmind\Immutable\T> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() 'tx' is of type string , but the function expects a object<Innmind\Immutable\S> .
It seems like the type of the argument is not accepted by the function/method which you are calling. In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug. We suggest to add an explicit type cast like in the following example: function acceptsInteger($int) { }
$x = '123'; // string "123"
// Instead of
acceptsInteger($x);
// we recommend to use
acceptsInteger((integer) $x);
![]() |
|||
105 | } |
||
106 | |||
107 | 29 | return self::$classes; |
|
108 | } |
||
109 | } |
||
110 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: