Skip to content

Commit

Permalink
Make some more classes final
Browse files Browse the repository at this point in the history
  • Loading branch information
ntzm committed Jul 15, 2018
1 parent d729e07 commit c4e4985
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/DocBlock/Annotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @author Graham Campbell <graham@alt-three.com>
* @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
*/
class Annotation
final class Annotation
{
/**
* Regex to match any types, shall be used with `x` modifier.
Expand Down
2 changes: 1 addition & 1 deletion src/DocBlock/DocBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @author Graham Campbell <graham@alt-three.com>
*/
class DocBlock
final class DocBlock
{
/**
* The array of lines.
Expand Down
2 changes: 1 addition & 1 deletion src/DocBlock/Line.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @author Graham Campbell <graham@alt-three.com>
*/
class Line
final class Line
{
/**
* The content of this line.
Expand Down
2 changes: 1 addition & 1 deletion src/DocBlock/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @author Graham Campbell <graham@alt-three.com>
*/
class Tag
final class Tag
{
/**
* All the tags defined by the proposed PSR PHPDoc standard.
Expand Down
2 changes: 1 addition & 1 deletion src/DocBlock/TagComparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @author Graham Campbell <graham@alt-three.com>
*/
class TagComparator
final class TagComparator
{
/**
* Groups of tags that should be allowed to immediately follow each other.
Expand Down
2 changes: 1 addition & 1 deletion src/Tokenizer/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
*/
class Token
final class Token
{
/**
* Content of token prototype.
Expand Down
2 changes: 1 addition & 1 deletion src/Tokenizer/Tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @method Token current()
* @method Token offsetGet($index)
*/
class Tokens extends \SplFixedArray
final class Tokens extends \SplFixedArray
{
const BLOCK_TYPE_PARENTHESIS_BRACE = 1;
const BLOCK_TYPE_CURLY_BRACE = 2;
Expand Down

0 comments on commit c4e4985

Please sign in to comment.