Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function __construct( $url, PageIdentifier $pageIdentifier = null, Revisions $revisions = null ) { |
||
23 | parent::__construct( $pageIdentifier, $revisions ); |
||
24 | if ( !is_string( $url ) ) { |
||
25 | throw new InvalidArgumentException( '$url must be a string' ); |
||
26 | } |
||
27 | $this->url = $url; |
||
28 | } |
||
29 | |||
38 |