Remove visibility from parameter

parent 29e50b11
......@@ -5,7 +5,7 @@ class PHPUnit_Framework_Constraint_And<T>
protected ?PHPUnit_Framework_Constraint<T> $lastConstraint;
public function setConstraints(
protected array<PHPUnit_Framework_Constraint<T>> $constraints,
array<PHPUnit_Framework_Constraint<T>> $constraints,
): void;
public function toString(): string;
......
......@@ -8,7 +8,6 @@ class PHPUnit_Hhi_Test extends PHPUnit_Framework_TestCase {
$this->assertFalse(false, 0);
$this->assertFalse(false, false);
$this->assertFalse(false, 4.3);
$this->assertFalse(false, [1]);
$this->assertFalse(false, $this);
$this->assertFalse(false, null);
}
......@@ -19,7 +18,6 @@ class PHPUnit_Hhi_Test extends PHPUnit_Framework_TestCase {
$this->assertTrue(false, 0);
$this->assertTrue(false, false);
$this->assertTrue(false, 4.3);
$this->assertTrue(false, [1]);
$this->assertTrue(false, $this);
$this->assertTrue(false, null);
}
......@@ -30,12 +28,10 @@ class PHPUnit_Hhi_Test extends PHPUnit_Framework_TestCase {
7:4110:Invalid argument. This is a string. It is incompatible with an int.
8:4110:Invalid argument. This is a string. It is incompatible with a bool.
9:4110:Invalid argument. This is a string. It is incompatible with a float.
10:4110:Invalid argument. This is a string. It is incompatible with an array (used like a vector).
11:4110:Invalid argument. This is a string. It is incompatible with an object of type PHPUnit_Hhi_Test.
12:4110:Invalid argument. This is a string. It is incompatible with a nullable type.
18:4110:Invalid argument. This is a string. It is incompatible with an int.
19:4110:Invalid argument. This is a string. It is incompatible with a bool.
20:4110:Invalid argument. This is a string. It is incompatible with a float.
21:4110:Invalid argument. This is a string. It is incompatible with an array (used like a vector).
22:4110:Invalid argument. This is a string. It is incompatible with an object of type PHPUnit_Hhi_Test.
23:4110:Invalid argument. This is a string. It is incompatible with a nullable type.
10:4110:Invalid argument. This is a string. It is incompatible with an object of type PHPUnit_Hhi_Test.
11:4110:Invalid argument. This is a string. It is incompatible with a nullable type.
17:4110:Invalid argument. This is a string. It is incompatible with an int.
18:4110:Invalid argument. This is a string. It is incompatible with a bool.
19:4110:Invalid argument. This is a string. It is incompatible with a float.
20:4110:Invalid argument. This is a string. It is incompatible with an object of type PHPUnit_Hhi_Test.
21:4110:Invalid argument. This is a string. It is incompatible with a nullable type.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment