Skip to content

Commit 47e072b

Browse files
committed
Cleanup docblocks, especially removing unnecessary return definitions in constructors
1 parent 7da4762 commit 47e072b

14 files changed

+4
-15
lines changed

lib/triagens/ArangoDb/AqlUserFunction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ class AqlUserFunction
9797
* @param Connection $connection - the connection to be used
9898
* @param array $attributesArray - user function initialization data
9999
*
100-
* @return \triagens\ArangoDb\AqlUserFunction
101100
*/
102101
public function __construct(Connection $connection, array $attributesArray = null)
103102
{

lib/triagens/ArangoDb/BatchPart.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ class BatchPart
8383
* @param mixed $response The response string
8484
* @param mixed $options optional, options like sanitize, that can be passed to the request/response handler.
8585
*
86-
* @return BatchPart
8786
*/
8887

8988
public function __construct($batch, $id, $type, $request, $response, $options)

lib/triagens/ArangoDb/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ class Collection
197197
*
198198
* @param string $name - name for the collection
199199
*
200-
* @return Collection
201200
*/
202201
public function __construct($name = null)
203202
{

lib/triagens/ArangoDb/Connection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ class Connection
106106
*
107107
* @param array $options - initial connection options
108108
*
109-
* @return Connection
110109
*/
111110
public function __construct(array $options)
112111
{

lib/triagens/ArangoDb/ConnectionOptions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ class ConnectionOptions implements
199199
*
200200
* @param array $options - initial options
201201
*
202-
* @return \triagens\ArangoDb\ConnectionOptions
203202
*/
204203
public function __construct(array $options)
205204
{

lib/triagens/ArangoDb/Cursor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ class Cursor implements
172172
* @param array $data - initial result data as returned by the server
173173
* @param array $options - cursor options
174174
*
175-
* @return Cursor
176175
*/
177176
public function __construct(Connection $connection, array $data, array $options)
178177
{

lib/triagens/ArangoDb/Document.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ class Document
139139
* <li>'hiddenAttributes' - Deprecated, please use '_hiddenAttributes'.</li>
140140
* <li>'_ignoreHiddenAttributes' - true to show hidden attributes. Defaults to false</li>
141141
* <p>
142-
* *
143-
* @return Document
142+
*
144143
*/
145144
public function __construct(array $options = null)
146145
{

lib/triagens/ArangoDb/EdgeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class EdgeDefinition
5252
* @param array $fromCollections - a list of collections providing the edges start vertices.
5353
* @param array $toCollections - a list of collections providing the edges end vertices.
5454
* @since 2.2
55-
* @return EdgeDefinition
55+
*
5656
*/
5757
public function __construct($relation = null, $fromCollections = [], $toCollections = [])
5858
{

lib/triagens/ArangoDb/Endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class Endpoint
8484
* @param string $value - endpoint specification
8585
*
8686
* @throws ClientException
87-
* @return \triagens\ArangoDb\Endpoint
87+
*
8888
*/
8989
public function __construct($value)
9090
{

lib/triagens/ArangoDb/ExportCursor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ class ExportCursor
107107
* @param array $data - initial result data as returned by the server
108108
* @param array $options - cursor options
109109
*
110-
* @return ExportCursor
111110
*/
112111
public function __construct(Connection $connection, array $data, array $options)
113112
{

0 commit comments

Comments
 (0)