Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 804edca

Browse files
committed
Add consistency to method chaining DocBlocks
1 parent 0b17e2c commit 804edca

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

src/Adapter/AbstractAdapter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function getCredential()
3535
/**
3636
* Sets the credential for binding
3737
*
38-
* @param mixed $credential
39-
* @return AbstractAdapter
38+
* @param mixed $credential
39+
* @return AbstractAdapter Provides a fluent interface
4040
*/
4141
public function setCredential($credential)
4242
{
@@ -59,8 +59,8 @@ public function getIdentity()
5959
/**
6060
* Sets the identity for binding
6161
*
62-
* @param mixed $identity
63-
* @return AbstractAdapter
62+
* @param mixed $identity
63+
* @return AbstractAdapter Provides a fluent interface
6464
*/
6565
public function setIdentity($identity)
6666
{

src/Adapter/DbTable/AbstractAdapter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function __construct(
105105
* setTableName() - set the table name to be used in the select query
106106
*
107107
* @param string $tableName
108-
* @return self Provides a fluent interface
108+
* @return AbstractAdapter Provides a fluent interface
109109
*/
110110
public function setTableName($tableName)
111111
{
@@ -117,7 +117,7 @@ public function setTableName($tableName)
117117
* setIdentityColumn() - set the column name to be used as the identity column
118118
*
119119
* @param string $identityColumn
120-
* @return self Provides a fluent interface
120+
* @return AbstractAdapter Provides a fluent interface
121121
*/
122122
public function setIdentityColumn($identityColumn)
123123
{
@@ -129,7 +129,7 @@ public function setIdentityColumn($identityColumn)
129129
* setCredentialColumn() - set the column name to be used as the credential column
130130
*
131131
* @param string $credentialColumn
132-
* @return self Provides a fluent interface
132+
* @return AbstractAdapter Provides a fluent interface
133133
*/
134134
public function setCredentialColumn($credentialColumn)
135135
{
@@ -143,7 +143,7 @@ public function setCredentialColumn($credentialColumn)
143143
* false) parameters. Default is false.
144144
*
145145
* @param int|bool $flag
146-
* @return self Provides a fluent interface
146+
* @return AbstractAdapter Provides a fluent interface
147147
*/
148148
public function setAmbiguityIdentity($flag)
149149
{

src/Adapter/DbTable/CallbackCheckAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct(
5656
* credential.
5757
*
5858
* @param callable $validationCallback
59-
* @return self
59+
* @return CallbackCheckAdapter Provides a fluent interface
6060
* @throws Exception\InvalidArgumentException
6161
*/
6262
public function setCredentialValidationCallback($validationCallback)

src/Adapter/DbTable/CredentialTreatmentAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(
6262
* 'MD5(?)'
6363
*
6464
* @param string $treatment
65-
* @return self Provides a fluent interface
65+
* @return CredentialTreatmentAdapter Provides a fluent interface
6666
*/
6767
public function setCredentialTreatment($treatment)
6868
{

src/Adapter/Http/ApacheResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct($path = '')
5050
* Set the path to the credentials file
5151
*
5252
* @param string $path
53-
* @return self Provides a fluent interface
53+
* @return ApacheResolver Provides a fluent interface
5454
* @throws Exception\InvalidArgumentException if path is not readable
5555
*/
5656
public function setFile($path)

src/Validator/Authentication.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function getAdapter()
110110
* Set Adapter
111111
*
112112
* @param ValidatableAdapterInterface $adapter
113-
* @return Authentication
113+
* @return Authentication Provides a fluent interface
114114
*/
115115
public function setAdapter(ValidatableAdapterInterface $adapter)
116116
{
@@ -132,8 +132,8 @@ public function getIdentity()
132132
/**
133133
* Set Identity
134134
*
135-
* @param mixed $identity
136-
* @return Authentication
135+
* @param mixed $identity
136+
* @return Authentication Provides a fluent interface
137137
*/
138138
public function setIdentity($identity)
139139
{
@@ -155,8 +155,8 @@ public function getCredential()
155155
/**
156156
* Set Credential
157157
*
158-
* @param mixed $credential
159-
* @return Authentication
158+
* @param mixed $credential
159+
* @return Authentication Provides a fluent interface
160160
*/
161161
public function setCredential($credential)
162162
{
@@ -179,7 +179,7 @@ public function getService()
179179
* Set Service
180180
*
181181
* @param AuthenticationService $service
182-
* @return Authentication
182+
* @return Authentication Provides a fluent interface
183183
*/
184184
public function setService(AuthenticationService $service)
185185
{

0 commit comments

Comments
 (0)