mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Initialize static variable to make linter happy
Summary: Uninitialized variable defaults to 0 in this context. Make it explicit. Test Plan: None. No functional change. Reviewers: O1 Blessed Committers, speck Reviewed By: O1 Blessed Committers, speck Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25470
This commit is contained in:
parent
486fc95b29
commit
361fcd0cac
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ final class PhabricatorPolicyFilter extends Phobject {
|
||||||
// checks make it difficult to create cycles normally, so just do a
|
// checks make it difficult to create cycles normally, so just do a
|
||||||
// simple check here to limit damage.
|
// simple check here to limit damage.
|
||||||
|
|
||||||
static $depth;
|
static $depth = 0;
|
||||||
|
|
||||||
$depth++;
|
$depth++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue