Skip to content

Commit

Permalink
Merge pull request #40 from matbech/patch-1
Browse files Browse the repository at this point in the history
Adds priority member variable to prevent runtime dynamic property declaration
  • Loading branch information
Ocramius authored Jul 18, 2022
2 parents 23adbb7 + 7a0be95 commit 0227cc2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Http/Part.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ class Part extends TreeRouteStack implements RouteInterface
*/
protected $childRoutes;

/**
* Priority.
*
* @internal For internal classes only. Not designed for general use.
*
* @var int|null
*/
public $priority;

/**
* Create a new part route.
*
Expand Down

0 comments on commit 0227cc2

Please sign in to comment.