mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +00:00
69d7669069
This patch covers every object-only parameter, adding a typehint for it to avoid errors. Change-Id: Iebf700621b9dbff78c3bd8f3c136ed15ef4b8d4b
15 lines
217 B
PHP
15 lines
217 B
PHP
<?php
|
|
|
|
class AFPParserState {
|
|
public $pos, $token;
|
|
|
|
/**
|
|
* @param AFPToken $token
|
|
* @param int $pos
|
|
*/
|
|
public function __construct( AFPToken $token, $pos ) {
|
|
$this->token = $token;
|
|
$this->pos = $pos;
|
|
}
|
|
}
|