diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-18 20:38:40 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-07-19 10:28:11 +0200 |
commit | d8ec3994542d238f9d679d6c426c14caf6ba6450 (patch) | |
tree | d418b14313b2b45ab4456e0ebaacda96536786e3 /lib | |
parent | 0ee83ac56bb7390899699f230f7e022f00d4042e (diff) | |
download | nextcloud-server-d8ec3994542d238f9d679d6c426c14caf6ba6450.tar.gz nextcloud-server-d8ec3994542d238f9d679d6c426c14caf6ba6450.zip |
Run phan over code base
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Diagnostics/QueryLogger.php | 2 | ||||
-rw-r--r-- | lib/private/Files/View.php | 2 | ||||
-rw-r--r-- | lib/private/Share20/Manager.php | 2 | ||||
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/lib/private/Diagnostics/QueryLogger.php b/lib/private/Diagnostics/QueryLogger.php index 875d25e9be3..2b007b4f044 100644 --- a/lib/private/Diagnostics/QueryLogger.php +++ b/lib/private/Diagnostics/QueryLogger.php @@ -35,7 +35,7 @@ class QueryLogger implements IQueryLogger { protected $activeQuery; /** - * @var \OC\Diagnostics\Query[] + * @var CappedMemoryCache */ protected $queries; diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 0e22415e6f7..a78f423e7cb 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1292,7 +1292,7 @@ class View { * @param \OC\Files\Storage\Storage $storage * @param string $internalPath * @param string $relativePath - * @return array|bool + * @return ICacheEntry|bool */ private function getCacheEntry($storage, $internalPath, $relativePath) { $cache = $storage->getCache($internalPath); diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 798ea937038..84b78a872ab 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -168,6 +168,8 @@ class Manager implements IManager { * @param \OCP\Share\IShare $share * @throws \InvalidArgumentException * @throws GenericShareException + * + * @suppress PhanUndeclaredClassMethod */ protected function generalCreateChecks(\OCP\Share\IShare $share) { if ($share->getShareType() === \OCP\Share::SHARE_TYPE_USER) { diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index aedad6a32a7..2b7d0e78c52 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -177,6 +177,8 @@ class ProviderFactory implements IProviderFactory { * Create the circle share provider * * @return FederatedShareProvider + * + * @suppress PhanUndeclaredClassMethod */ protected function getShareByCircleProvider() { |