File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ public function getMedia(): array;
2929
3030 public function getCharset (): ?Charset ;
3131
32- public function getCommands (? string $ language = null ): iterable ;
32+ public function getCommands (string $ language ): iterable ;
3333}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ final class Element
3434 */
3535 public static function raw ($ data ): Raw
3636 {
37- return new Raw (... \func_get_args () );
37+ return new Raw ($ data );
3838 }
3939
4040 /**
@@ -47,7 +47,7 @@ public static function raw($data): Raw
4747 */
4848 public static function clear (?string $ field = null ): Clear
4949 {
50- return new Clear (... \func_get_args () );
50+ return new Clear ($ field );
5151 }
5252
5353 public static function bitmap (int $ x , int $ y , \Imagick $ canvas ): Bitmap
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public function getHeight(): ?float
9292 return $ this ->media ['height ' ] ?? null ;
9393 }
9494
95- public function getCommands (? string $ language = null ): iterable
95+ public function getCommands (string $ language ): iterable
9696 {
9797 foreach ($ this ->commands as $ command ) {
9898 if ($ command instanceof Condition) {
You can’t perform that action at this time.
0 commit comments