Skip to content

Commit

Permalink
Fixed return value type in methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sohelrana820 committed Aug 14, 2018
1 parent ac3d6bd commit 3d1c280
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Http/Client.php
Expand Up @@ -179,7 +179,7 @@ public function __construct($config = [])
/**
* Get the cookies stored in the Client.
*
* @return \Cake\Http\Client\CookieCollection
* @return CookieCollection
*/
public function cookies()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Collection/CollectionTest.php
Expand Up @@ -1667,7 +1667,7 @@ public function testInsert()
/**
* Provider for testing each of the directions for listNested
*
* @return void
* @return array
*/
public function nestedListProvider()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/Core/AppTest.php
Expand Up @@ -114,7 +114,7 @@ public function testShortNameWithNestedAppNamespace()
* existsInBase (Base meaning App or plugin namespace)
* expected return value
*
* @return void
* @return array
*/
public function classnameProvider()
{
Expand Down Expand Up @@ -169,7 +169,7 @@ public function classnameProvider()
* suffix
* expected return value
*
* @return void
* @return array
*/
public function shortNameProvider()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/ORM/BehaviorTest.php
Expand Up @@ -143,7 +143,7 @@ public function verifyConfig()
*
* This class does pretend to implement beforeFind
*
* @return void
* @return array
*/
public function implementedEvents()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/ORM/BindingKeyTest.php
Expand Up @@ -36,7 +36,7 @@ class BindingKeyTest extends TestCase
/**
* Data provider for the two types of strategies BelongsTo and HasOne implements
*
* @return void
* @return array
*/
public function strategiesProviderJoinable()
{
Expand All @@ -46,7 +46,7 @@ public function strategiesProviderJoinable()
/**
* Data provider for the two types of strategies HasMany and BelongsToMany implements
*
* @return void
* @return array
*/
public function strategiesProviderExternal()
{
Expand Down
8 changes: 4 additions & 4 deletions tests/TestCase/ORM/CompositeKeysTest.php
Expand Up @@ -68,7 +68,7 @@ public function setUp()
/**
* Data provider for the two types of strategies HasOne implements
*
* @return void
* @return array
*/
public function strategiesProviderHasOne()
{
Expand All @@ -78,7 +78,7 @@ public function strategiesProviderHasOne()
/**
* Data provider for the two types of strategies HasMany implements
*
* @return void
* @return array
*/
public function strategiesProviderHasMany()
{
Expand All @@ -88,7 +88,7 @@ public function strategiesProviderHasMany()
/**
* Data provider for the two types of strategies BelongsTo implements
*
* @return void
* @return array
*/
public function strategiesProviderBelongsTo()
{
Expand All @@ -98,7 +98,7 @@ public function strategiesProviderBelongsTo()
/**
* Data provider for the two types of strategies BelongsToMany implements
*
* @return void
* @return array
*/
public function strategiesProviderBelongsToMany()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/test_app/TestApp/Controller/CakesController.php
Expand Up @@ -39,7 +39,7 @@ public function noRender()
/**
* invalid method
*
* @return \Cake\Http\Response
* @return string
*/
public function invalid()
{
Expand Down

0 comments on commit 3d1c280

Please sign in to comment.