Lazzard\FtpBridge\Logger\LogLevel::info of type string is incompatible with the type integer expected by parameter $level of Lazzard\FtpBridge\Logger\LoggerInterface::log().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
Lazzard\FtpBridge\Logger\LogLevel::error of type string is incompatible with the type integer expected by parameter $level of Lazzard\FtpBridge\Logger\LoggerInterface::log().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
Lazzard\FtpBridge\Logger\LogLevel::command of type string is incompatible with the type integer expected by parameter $level of Lazzard\FtpBridge\Logger\LoggerInterface::log().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.