-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add tests #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
class Test | ||
{ | ||
private string $string; |
Check failure
Code scanning / PHPStan
Property Test::$string is never read, only written.
class Test | ||
{ | ||
private string $string; | ||
private int $int; |
Check failure
Code scanning / PHPStan
Property Test::$int is never read, only written.
|
||
public function __construct(string $string, int $int) | ||
{ | ||
$this->string = intval($string); |
Check failure
Code scanning / PHPStan
Property Test::$string (string) does not accept int.
public function __construct(string $string, int $int) | ||
{ | ||
$this->string = intval($string); | ||
$this->int = (string) $int; |
Check failure
Code scanning / PHPStan
Property Test::$int (int) does not accept string.
No description provided.