diff --git a/.phan/baseline.php b/.phan/baseline.php index 6db375d..9284a32 100644 --- a/.phan/baseline.php +++ b/.phan/baseline.php @@ -2,8 +2,6 @@ return [ 'file_suppressions' => [ - 'src/ActivityApi.php' => ['PhanUnextractableAnnotation'], - 'src/BlogsApi.php' => ['PhanUnextractableAnnotation'], 'src/CamerasApi.php' => ['PhanUnextractableAnnotation'], 'src/CollectionsApi.php' => ['PhanUnextractableAnnotation'], 'src/CommonsApi.php' => ['PhanUnextractableAnnotation'], diff --git a/src/ActivityApi.php b/src/ActivityApi.php index 5fdad1b..3239be7 100644 --- a/src/ActivityApi.php +++ b/src/ActivityApi.php @@ -15,7 +15,7 @@ class ActivityApi extends ApiMethodGroup * omitted, it defaults to 10. The maximum allowed value is 50. * @param string $page The page of results to return. If this argument is omitted, * it defaults to 1. - * @return + * @return array */ public function userComments($perPage = null, $page = null) { @@ -41,7 +41,7 @@ public function userComments($perPage = null, $page = null) * omitted, it defaults to 10. The maximum allowed value is 50. * @param string $page The page of results to return. If this argument is omitted, * it defaults to 1. - * @return + * @return array */ public function userPhotos($timeframe = null, $perPage = null, $page = null) { diff --git a/src/BlogsApi.php b/src/BlogsApi.php index e4c3b3f..830474d 100644 --- a/src/BlogsApi.php +++ b/src/BlogsApi.php @@ -13,7 +13,7 @@ class BlogsApi extends ApiMethodGroup * @param string $service Optionally only return blogs for a given service id. You * can get a list of from flickr.blogs.getServices(). - * @return + * @return array */ public function getList($service = null) { @@ -30,7 +30,7 @@ public function getList($service = null) * * @link https://www.flickr.com/services/api/flickr.blogs.getServices.html * - * @return + * @return array */ public function getServices() { @@ -50,7 +50,7 @@ public function getServices() * a blog id you can pass a service id and we'll post to the first blog of that * service we find. * @param string $blogId The id of the blog to post to. - * @return + * @return array */ public function postPhoto($photoId, $title, $description, $blogPassword = null, $service = null, $blogId = null) { diff --git a/tests/ApiMethodGroup/PhotosApiTest.php b/tests/ApiMethodGroup/PhotosApiTest.php index 795c5ed..b142b81 100644 --- a/tests/ApiMethodGroup/PhotosApiTest.php +++ b/tests/ApiMethodGroup/PhotosApiTest.php @@ -23,9 +23,6 @@ protected function getTestPhotoId(PhpFlickr $flickr) return $this->testPhotoId; } - /** - * @group auth - */ public function testAddTags() { $flickr = $this->getFlickr(true);