| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function __construct( $title, $ns = 0 ) { |
||
| 30 | if ( !is_string( $title ) ) { |
||
| 31 | throw new InvalidArgumentException( '$title must be a string' ); |
||
| 32 | } |
||
| 33 | if ( !is_int( $ns ) ) { |
||
| 34 | throw new InvalidArgumentException( '$ns must be an int' ); |
||
| 35 | } |
||
| 36 | $this->title = $title; |
||
| 37 | $this->ns = $ns; |
||
| 38 | } |
||
| 39 | |||
| 84 |