src/TokenList.php
public function remove(string $token):void {
		if(!$this->contains($token)) {
			return;
		}

		$index = array_search($token, $this->tokenArray);

		unset($this->tokenArray[$index]);
		$this->untok();
	}
public function remove(string $token):void {
		if(!$this->contains($token)) {
			return;
		}

		$index = array_search($token, $this->tokenArray);

		unset($this->tokenArray[$index]);
		$this->untok();
	}
Removes $token from the underlying attribute value.
@param string $token
@return null