@@ -27,16 +27,16 @@ class CheckPlugin extends ServerPlugin {
2727 */
2828 public function initialize (Server $ server ): void {
2929 $ this ->server = $ server ;
30- $ server ->on ('method:PROPFIND ' , [ $ this , ' checkToS ' ] );
31- $ server ->on ('method:PROPPATCH ' , [ $ this , ' checkToS ' ] );
32- $ server ->on ('method:GET ' , [ $ this , ' checkToS ' ] );
33- $ server ->on ('method:POST ' , [ $ this , ' checkToS ' ] );
34- $ server ->on ('method:PUT ' , [ $ this , ' checkToS ' ] );
35- $ server ->on ('method:DELETE ' , [ $ this , ' checkToS ' ] );
36- $ server ->on ('method:MKCOL ' , [ $ this , ' checkToS ' ] );
37- $ server ->on ('method:MOVE ' , [ $ this , ' checkToS ' ] );
38- $ server ->on ('method:COPY ' , [ $ this , ' checkToS ' ] );
39- $ server ->on ('method:REPORT ' , [ $ this , ' checkToS ' ] );
30+ $ server ->on ('method:PROPFIND ' , $ this -> checkToS (...) );
31+ $ server ->on ('method:PROPPATCH ' , $ this -> checkToS (...) );
32+ $ server ->on ('method:GET ' , $ this -> checkToS (...) );
33+ $ server ->on ('method:POST ' , $ this -> checkToS (...) );
34+ $ server ->on ('method:PUT ' , $ this -> checkToS (...) );
35+ $ server ->on ('method:DELETE ' , $ this -> checkToS (...) );
36+ $ server ->on ('method:MKCOL ' , $ this -> checkToS (...) );
37+ $ server ->on ('method:MOVE ' , $ this -> checkToS (...) );
38+ $ server ->on ('method:COPY ' , $ this -> checkToS (...) );
39+ $ server ->on ('method:REPORT ' , $ this -> checkToS (...) );
4040 }
4141
4242 /**
0 commit comments