Skip to content

Commit 2dc79b5

Browse files
authored
Fix some phan issues
* Fix some phan issues. * Remove unused 'auth' test group.
1 parent 3aced78 commit 2dc79b5

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.phan/baseline.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
return [
44
'file_suppressions' => [
5-
'src/ActivityApi.php' => ['PhanUnextractableAnnotation'],
6-
'src/BlogsApi.php' => ['PhanUnextractableAnnotation'],
75
'src/CamerasApi.php' => ['PhanUnextractableAnnotation'],
86
'src/CollectionsApi.php' => ['PhanUnextractableAnnotation'],
97
'src/CommonsApi.php' => ['PhanUnextractableAnnotation'],

src/ActivityApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ActivityApi extends ApiMethodGroup
1515
* omitted, it defaults to 10. The maximum allowed value is 50.
1616
* @param string $page The page of results to return. If this argument is omitted,
1717
* it defaults to 1.
18-
* @return
18+
* @return array
1919
*/
2020
public function userComments($perPage = null, $page = null)
2121
{
@@ -41,7 +41,7 @@ public function userComments($perPage = null, $page = null)
4141
* omitted, it defaults to 10. The maximum allowed value is 50.
4242
* @param string $page The page of results to return. If this argument is omitted,
4343
* it defaults to 1.
44-
* @return
44+
* @return array
4545
*/
4646
public function userPhotos($timeframe = null, $perPage = null, $page = null)
4747
{

src/BlogsApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BlogsApi extends ApiMethodGroup
1313
* @param string $service Optionally only return blogs for a given service id. You
1414
* can get a list of from <a
1515
* href="/services/api/flickr.blogs.getServices.html">flickr.blogs.getServices()</a>.
16-
* @return
16+
* @return array
1717
*/
1818
public function getList($service = null)
1919
{
@@ -30,7 +30,7 @@ public function getList($service = null)
3030
*
3131
* @link https://www.flickr.com/services/api/flickr.blogs.getServices.html
3232
*
33-
* @return
33+
* @return array
3434
*/
3535
public function getServices()
3636
{
@@ -50,7 +50,7 @@ public function getServices()
5050
* a blog id you can pass a service id and we'll post to the first blog of that
5151
* service we find.
5252
* @param string $blogId The id of the blog to post to.
53-
* @return
53+
* @return array
5454
*/
5555
public function postPhoto($photoId, $title, $description, $blogPassword = null, $service = null, $blogId = null)
5656
{

tests/ApiMethodGroup/PhotosApiTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ protected function getTestPhotoId(PhpFlickr $flickr)
2323
return $this->testPhotoId;
2424
}
2525

26-
/**
27-
* @group auth
28-
*/
2926
public function testAddTags()
3027
{
3128
$flickr = $this->getFlickr(true);

0 commit comments

Comments
 (0)