Skip to content

Commit 7c7cc9b

Browse files
committed
Convert boolean typehints into bool
1 parent def50d5 commit 7c7cc9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup/src/Magento/Setup/Controller/DatabaseCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function indexAction()
6767

6868
/**
6969
* @param array $params
70-
* @return boolean
70+
* @return bool
7171
*/
7272
private function isDriverOptionsGiven($params)
7373
{

setup/src/Magento/Setup/Validator/DbValidator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(ConnectionFactory $connectionFactory)
4242
* Check if database table prefix is valid
4343
*
4444
* @param string $prefix
45-
* @return boolean
45+
* @return bool
4646
* @throws \InvalidArgumentException
4747
*/
4848
public function checkDatabaseTablePrefix($prefix)
@@ -72,7 +72,7 @@ public function checkDatabaseTablePrefix($prefix)
7272
* @param string $dbHost
7373
* @param string $dbUser
7474
* @param string $dbPass
75-
* @return boolean
75+
* @return bool
7676
* @throws \Magento\Setup\Exception
7777
* @deprecated
7878
*/
@@ -89,7 +89,7 @@ public function checkDatabaseConnection($dbName, $dbHost, $dbUser, $dbPass = '')
8989
* @param string $dbUser
9090
* @param string $dbPass
9191
* @param array $driverOptions
92-
* @return boolean
92+
* @return bool
9393
* @throws \Magento\Setup\Exception
9494
*/
9595
public function checkDatabaseConnectionWithDriverOptions(

0 commit comments

Comments
 (0)