From 584fd0c75b8ed34c710d5c3747c4bee4aeb9d179 Mon Sep 17 00:00:00 2001 From: Leszek Manicki Date: Wed, 14 Dec 2016 16:09:34 +0100 Subject: [PATCH] Document type of LogEntry::isPatrollable property Change-Id: I557b92f25f15f57123af329c79ef1752025aedf3 --- includes/logging/LogEntry.php | 2 +- tests/phan/config.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/logging/LogEntry.php b/includes/logging/LogEntry.php index 21864eefbf..c9f13457de 100644 --- a/includes/logging/LogEntry.php +++ b/includes/logging/LogEntry.php @@ -428,7 +428,7 @@ class ManualLogEntry extends LogEntryBase { /** @var int ID of the log entry */ protected $id; - /** @var Can this log entry be patrolled? */ + /** @var bool Can this log entry be patrolled? */ protected $isPatrollable = false; /** @var bool Whether this is a legacy log entry */ diff --git a/tests/phan/config.php b/tests/phan/config.php index 7dcc5c49f5..dc6bb89693 100644 --- a/tests/phan/config.php +++ b/tests/phan/config.php @@ -353,8 +353,6 @@ return [ "PhanUndeclaredStaticMethod", // approximate error count: 15 "PhanUndeclaredTypeParameter", - // approximate error count: 1 - "PhanUndeclaredTypeProperty", // approximate error count: 79 "PhanUndeclaredVariable", ], -- 2.20.1