opt
/
cpanel
/
ea-wappspector
/
vendor
/
slevomat
/
coding-standard
/
SlevomatCodingStandard
/
Helpers
➕ New
📤 Upload
✎ Editing:
TokenPointerOutOfBoundsException.php
← Back
<?php declare(strict_types = 1); namespace SlevomatCodingStandard\Helpers; use Exception; use Throwable; use function sprintf; /** * @internal */ class TokenPointerOutOfBoundsException extends Exception { private int $pointer; private int $lastTokenPointer; public function __construct(int $pointer, int $lastTokenPointer, ?Throwable $previous = null) { parent::__construct( sprintf( 'Attempted access to token pointer %d, last token pointer is %d', $pointer, $lastTokenPointer, ), 0, $previous, ); $this->pointer = $pointer; $this->lastTokenPointer = $lastTokenPointer; } public function getPointer(): int { return $this->pointer; } public function getLastTokenPointer(): int { return $this->lastTokenPointer; } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel