@@ -31,26 +31,26 @@ public function testGetArgumentName(): void {
3131 try {
3232 $ this ->throwMessageException ("Test " );
3333 } catch (InvalidArgumentException $ ex ) {
34- $ this -> assertEquals ('$message ' , $ ex ->getArgumentName ());
35- $ this -> assertEquals ('$message ' , $ ex ->argumentName );
34+ self :: assertEquals ('$message ' , $ ex ->getArgumentName ());
35+ self :: assertEquals ('$message ' , $ ex ->argumentName );
3636 }
3737 }
3838
3939 public function testGetMethodName (): void {
4040 try {
4141 $ this ->throwMessageException ("Test " );
4242 } catch (InvalidArgumentException $ ex ) {
43- $ this -> assertEquals ('throwMessageException ' , $ ex ->getMethodName ());
44- $ this -> assertEquals ('throwMessageException ' , $ ex ->methodName );
43+ self :: assertEquals ('throwMessageException ' , $ ex ->getMethodName ());
44+ self :: assertEquals ('throwMessageException ' , $ ex ->methodName );
4545 }
4646 }
4747
4848 public function testGetClassName (): void {
4949 try {
5050 $ this ->throwMessageException ("Test " );
5151 } catch (InvalidArgumentException $ ex ) {
52- $ this -> assertEquals ('InvalidArgumentExceptionTest ' , $ ex ->getClassName ());
53- $ this -> assertEquals ('InvalidArgumentExceptionTest ' , $ ex ->className );
52+ self :: assertEquals ('InvalidArgumentExceptionTest ' , $ ex ->getClassName ());
53+ self :: assertEquals ('InvalidArgumentExceptionTest ' , $ ex ->className );
5454 }
5555 }
5656
0 commit comments