@@ -339,7 +339,7 @@ references to existing connections.
339339
340340### Accessing Connections
341341
342- ` static ` Cake\\ Datasource\\ ConnectionManager::** get** ($name)
342+ ` static ` Cake\\ Datasource\\ ConnectionManager::** get** ($name): ConnectionInterface
343343
344344Once configured connections can be fetched using
345345` Cake\Datasource\ConnectionManager::get() ` . This method will
@@ -956,7 +956,7 @@ transactional operations.
956956
957957### Executing Queries
958958
959- ` method ` Cake\\ Database\\ Connection::** execute(string $sql, array $params = [ ] , array $types = [ ] ): \\ Cake \\ Database \\ StatementInterface** ()
959+ ` method ` Cake\\ Database\\ Connection::** execute** (string $sql, array $params = [ ] , array $types = [ ] ): StatementInterface
960960
961961Once you've gotten a connection object, you'll probably want to issue some
962962queries with it. CakePHP's database abstraction layer provides wrapper features
@@ -990,7 +990,7 @@ $statement = $connection->execute(
990990);
991991```
992992
993- ` method ` Cake\\ Database\\ Connection::** selectQuery** ()
993+ ` method ` Cake\\ Database\\ Connection::** selectQuery** (): SelectQuery
994994
995995These methods allow you to use rich data types in your applications and properly convert
996996them into SQL statements. The last and most flexible way of creating queries is
@@ -1015,7 +1015,7 @@ foreach ($query as $row) {
10151015> Instead of iterating the ` $query ` you can also call it's ` all() ` method
10161016> to get the results.
10171017
1018- ` method ` Cake\\ Database\\ Connection::** updateQuery** ()
1018+ ` method ` Cake\\ Database\\ Connection::** updateQuery** (): UpdateQuery
10191019
10201020This method provides you a builder for ` UPDATE ` queries:
10211021
@@ -1026,7 +1026,7 @@ $query = $connection->updateQuery('articles')
10261026$statement = $query->execute();
10271027```
10281028
1029- ` method ` Cake\\ Database\\ Connection::** insertQuery** ()
1029+ ` method ` Cake\\ Database\\ Connection::** insertQuery** (): InsertQuery
10301030
10311031This method provides you a builder for ` INSERT ` queries:
10321032
@@ -1038,7 +1038,7 @@ $query->into('articles')
10381038$statement = $query->execute();
10391039```
10401040
1041- ` method ` Cake\\ Database\\ Connection::** deleteQuery** ()
1041+ ` method ` Cake\\ Database\\ Connection::** deleteQuery** (): DeleteQuery
10421042
10431043This method provides you a builder for ` DELETE ` queries:
10441044
0 commit comments