Skip to content

Commit

Permalink
Fix some phan issues
Browse files Browse the repository at this point in the history
* Fix some phan issues.
* Remove unused 'auth' test group.
  • Loading branch information
samwilson authored Dec 18, 2024
1 parent 3aced78 commit 2dc79b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .phan/baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
4 changes: 2 additions & 2 deletions src/ActivityApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down
6 changes: 3 additions & 3 deletions src/BlogsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a
* href="/services/api/flickr.blogs.getServices.html">flickr.blogs.getServices()</a>.
* @return
* @return array
*/
public function getList($service = null)
{
Expand All @@ -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()
{
Expand All @@ -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)
{
Expand Down
3 changes: 0 additions & 3 deletions tests/ApiMethodGroup/PhotosApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ protected function getTestPhotoId(PhpFlickr $flickr)
return $this->testPhotoId;
}

/**
* @group auth
*/
public function testAddTags()
{
$flickr = $this->getFlickr(true);
Expand Down

0 comments on commit 2dc79b5

Please sign in to comment.