@@ -1833,13 +1833,13 @@ public static function assertObjectNotHasAttribute(string $attributeName, $objec
18331833 * Used on objects, it asserts that two variables reference
18341834 * the same object.
18351835 *
1836- * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1837- * @throws ExpectationFailedException
1838- *
18391836 * @psalm-template ExpectedType
18401837 *
18411838 * @psalm-param ExpectedType $expected
18421839 *
1840+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1841+ * @throws ExpectationFailedException
1842+ *
18431843 * @psalm-assert =ExpectedType $actual
18441844 */
18451845 public static function assertSame ($ expected , $ actual , string $ message = '' ): void
@@ -1927,14 +1927,14 @@ public static function assertAttributeNotSame($expected, string $actualAttribute
19271927 /**
19281928 * Asserts that a variable is of a given type.
19291929 *
1930- * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1931- * @throws Exception
1932- * @throws ExpectationFailedException
1933- *
19341930 * @psalm-template ExpectedType of object
19351931 *
19361932 * @psalm-param class-string<ExpectedType> $expected
19371933 *
1934+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1935+ * @throws Exception
1936+ * @throws ExpectationFailedException
1937+ *
19381938 * @psalm-assert =ExpectedType $actual
19391939 */
19401940 public static function assertInstanceOf (string $ expected , $ actual , string $ message = '' ): void
@@ -1955,15 +1955,15 @@ public static function assertInstanceOf(string $expected, $actual, string $messa
19551955 *
19561956 * @param object|string $classOrObject
19571957 *
1958- * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1959- * @throws Exception
1960- * @throws ExpectationFailedException
1961- *
19621958 * @deprecated https://github.com/sebastianbergmann/phpunit/issues/3338
19631959 *
19641960 * @codeCoverageIgnore
19651961 *
19661962 * @psalm-param class-string $expected
1963+ *
1964+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1965+ * @throws Exception
1966+ * @throws ExpectationFailedException
19671967 */
19681968 public static function assertAttributeInstanceOf (string $ expected , string $ attributeName , $ classOrObject , string $ message = '' ): void
19691969 {
@@ -1979,14 +1979,14 @@ public static function assertAttributeInstanceOf(string $expected, string $attri
19791979 /**
19801980 * Asserts that a variable is not of a given type.
19811981 *
1982- * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1983- * @throws Exception
1984- * @throws ExpectationFailedException
1985- *
19861982 * @psalm-template ExpectedType of object
19871983 *
19881984 * @psalm-param class-string<ExpectedType> $expected
19891985 *
1986+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1987+ * @throws Exception
1988+ * @throws ExpectationFailedException
1989+ *
19901990 * @psalm-assert !ExpectedType $actual
19911991 */
19921992 public static function assertNotInstanceOf (string $ expected , $ actual , string $ message = '' ): void
@@ -2009,15 +2009,15 @@ public static function assertNotInstanceOf(string $expected, $actual, string $me
20092009 *
20102010 * @param object|string $classOrObject
20112011 *
2012- * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
2013- * @throws Exception
2014- * @throws ExpectationFailedException
2015- *
20162012 * @deprecated https://github.com/sebastianbergmann/phpunit/issues/3338
20172013 *
20182014 * @codeCoverageIgnore
20192015 *
20202016 * @psalm-param class-string $expected
2017+ *
2018+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
2019+ * @throws Exception
2020+ * @throws ExpectationFailedException
20212021 */
20222022 public static function assertAttributeNotInstanceOf (string $ expected , string $ attributeName , $ classOrObject , string $ message = '' ): void
20232023 {
0 commit comments