Loading core/lib/Drupal/Component/Gettext/PoHeader.php +2 −2 Original line number Diff line number Diff line Loading @@ -183,7 +183,7 @@ public function __toString() { * @param string $plural_forms * The Plural-Forms entry value. * * @return array|bool * @return array|false * An indexed array of parsed plural formula data. Containing: * - 'nplurals': The number of plural forms defined by the plural formula. * - 'plurals': Array of plural positions keyed by plural value. Loading Loading @@ -271,7 +271,7 @@ private function parseHeader($header) { * @param string $string * A string containing the arithmetic formula. * * @return array|bool * @return array|false * A stack of values and operations to be evaluated. False if the formula * could not be parsed. */ Loading core/lib/Drupal/Component/Utility/Unicode.php +2 −2 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ public static function check() { * The data possibly containing a BOM. This can be the entire contents of * a file, or just a fragment containing at least the first five bytes. * * @return string|bool * @return string|false * The name of the encoding, or FALSE if no byte order mark was present. */ public static function encodingFromBOM($data) { Loading Loading @@ -181,7 +181,7 @@ public static function encodingFromBOM($data) { * @param string $encoding * The encoding that the data is in. * * @return string|bool * @return string|false * Converted data or FALSE. */ public static function convertToUtf8($data, $encoding) { Loading core/lib/Drupal/Core/Config/ConfigImporter.php +2 −2 Original line number Diff line number Diff line Loading @@ -754,7 +754,7 @@ protected function finish(&$context) { * installs are processed with modules coming before themes. This order is * necessary because themes can depend on modules. * * @return array|bool * @return array|false * An array containing the next operation and extension name to perform it * on. If there is nothing left to do returns FALSE; */ Loading Loading @@ -784,7 +784,7 @@ protected function getNextExtensionOperation() { /** * Gets the next configuration operation to perform. * * @return array|bool * @return array|false * An array containing the next operation and configuration name to perform * it on. If there is nothing left to do returns FALSE; */ Loading core/lib/Drupal/Core/Controller/ControllerResolverInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ interface ControllerResolverInterface extends BaseControllerResolverInterface { * The controller attribute like in * $request->attributes->get(RouteObjectInterface::CONTROLLER_NAME). * * @return mixed|bool * @return mixed|false * A PHP callable representing the Controller, or false if this resolver is * not able to determine the controller * Loading core/lib/Drupal/Core/Database/Connection.php +1 −1 Original line number Diff line number Diff line Loading @@ -1272,7 +1272,7 @@ abstract public function mapConditionOperator($operator); * (optional) Provides a data type hint for drivers that have alternate * quoting styles. Defaults to \PDO::PARAM_STR. * * @return string|bool * @return string|false * A quoted string that is theoretically safe to pass into an SQL statement. * Returns FALSE if the driver does not support quoting in this way. * Loading Loading
core/lib/Drupal/Component/Gettext/PoHeader.php +2 −2 Original line number Diff line number Diff line Loading @@ -183,7 +183,7 @@ public function __toString() { * @param string $plural_forms * The Plural-Forms entry value. * * @return array|bool * @return array|false * An indexed array of parsed plural formula data. Containing: * - 'nplurals': The number of plural forms defined by the plural formula. * - 'plurals': Array of plural positions keyed by plural value. Loading Loading @@ -271,7 +271,7 @@ private function parseHeader($header) { * @param string $string * A string containing the arithmetic formula. * * @return array|bool * @return array|false * A stack of values and operations to be evaluated. False if the formula * could not be parsed. */ Loading
core/lib/Drupal/Component/Utility/Unicode.php +2 −2 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ public static function check() { * The data possibly containing a BOM. This can be the entire contents of * a file, or just a fragment containing at least the first five bytes. * * @return string|bool * @return string|false * The name of the encoding, or FALSE if no byte order mark was present. */ public static function encodingFromBOM($data) { Loading Loading @@ -181,7 +181,7 @@ public static function encodingFromBOM($data) { * @param string $encoding * The encoding that the data is in. * * @return string|bool * @return string|false * Converted data or FALSE. */ public static function convertToUtf8($data, $encoding) { Loading
core/lib/Drupal/Core/Config/ConfigImporter.php +2 −2 Original line number Diff line number Diff line Loading @@ -754,7 +754,7 @@ protected function finish(&$context) { * installs are processed with modules coming before themes. This order is * necessary because themes can depend on modules. * * @return array|bool * @return array|false * An array containing the next operation and extension name to perform it * on. If there is nothing left to do returns FALSE; */ Loading Loading @@ -784,7 +784,7 @@ protected function getNextExtensionOperation() { /** * Gets the next configuration operation to perform. * * @return array|bool * @return array|false * An array containing the next operation and configuration name to perform * it on. If there is nothing left to do returns FALSE; */ Loading
core/lib/Drupal/Core/Controller/ControllerResolverInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ interface ControllerResolverInterface extends BaseControllerResolverInterface { * The controller attribute like in * $request->attributes->get(RouteObjectInterface::CONTROLLER_NAME). * * @return mixed|bool * @return mixed|false * A PHP callable representing the Controller, or false if this resolver is * not able to determine the controller * Loading
core/lib/Drupal/Core/Database/Connection.php +1 −1 Original line number Diff line number Diff line Loading @@ -1272,7 +1272,7 @@ abstract public function mapConditionOperator($operator); * (optional) Provides a data type hint for drivers that have alternate * quoting styles. Defaults to \PDO::PARAM_STR. * * @return string|bool * @return string|false * A quoted string that is theoretically safe to pass into an SQL statement. * Returns FALSE if the driver does not support quoting in this way. * Loading