Loading composer/Plugin/Scaffold/Plugin.php +5 −3 Original line number Diff line number Diff line Loading @@ -128,9 +128,11 @@ public function onCommand(CommandEvent $event) { } /** * Lazy-instantiate the handler object. It is dangerous to update a Composer * plugin if it loads any classes prior to the `composer update` operation, * and later tries to use them in a post-update hook. * Instantiates the handler object upon demand. * * It is dangerous to update a Composer plugin if it loads any classes prior * to the `composer update` operation, and later tries to use them in a * post-update hook. */ protected function handler() { if (!$this->handler) { Loading core/lib/Drupal/Component/Gettext/PoItem.php +4 −8 Original line number Diff line number Diff line Loading @@ -103,8 +103,7 @@ public function setContext($context) { } /** * Gets the source string or the array of strings if the translation has * plurals. * Gets the source string(s) if the translation has plurals. * * @return string or array $translation */ Loading @@ -113,8 +112,7 @@ public function getSource() { } /** * Set the source string or the array of strings if the translation has * plurals. * Sets the source string(s) if the translation has plurals. * * @param string|array $source * The source string or the array of strings if the translation has plurals. Loading @@ -124,8 +122,7 @@ public function setSource($source) { } /** * Gets the translation string or the array of strings if the translation has * plurals. * Gets the translation string(s) if the translation has plurals. * * @return string or array $translation */ Loading @@ -134,8 +131,7 @@ public function getTranslation() { } /** * Set the translation string or the array of strings if the translation has * plurals. * Sets the translation string(s) if the translation has plurals. * * @param string|array $translation * The translation string or the array of strings if the translation has Loading core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php +1 −2 Original line number Diff line number Diff line Loading @@ -185,8 +185,7 @@ public function garbageCollection() { } /** * Gets the full path of the containing directory where the file is or should * be stored. * Gets the full path of the file storage directory's parent. * * @param string $name * The virtual file name. Can be a relative path. Loading core/lib/Drupal/Component/Utility/Color.php +1 −2 Original line number Diff line number Diff line Loading @@ -58,8 +58,7 @@ public static function hexToRgb($hex) { } /** * Converts RGB color arrays and RGB strings in CSS notation to lowercase * simple colors like '#aabbcc'. * Converts RGB color arrays or strings to lowercase CSS notation. * * @param array|string $input * The value to convert. If the value is an array the first three elements Loading core/lib/Drupal/Core/Config/Schema/ArrayElement.php +1 −2 Original line number Diff line number Diff line Loading @@ -137,8 +137,7 @@ protected function createElement($definition, $value, $key) { } /** * Creates a new data definition object from a type definition array and * actual configuration data. * Creates a new data definition object from an array and configuration. * * @param array $definition * The base type definition array, for which a data definition should be Loading Loading
composer/Plugin/Scaffold/Plugin.php +5 −3 Original line number Diff line number Diff line Loading @@ -128,9 +128,11 @@ public function onCommand(CommandEvent $event) { } /** * Lazy-instantiate the handler object. It is dangerous to update a Composer * plugin if it loads any classes prior to the `composer update` operation, * and later tries to use them in a post-update hook. * Instantiates the handler object upon demand. * * It is dangerous to update a Composer plugin if it loads any classes prior * to the `composer update` operation, and later tries to use them in a * post-update hook. */ protected function handler() { if (!$this->handler) { Loading
core/lib/Drupal/Component/Gettext/PoItem.php +4 −8 Original line number Diff line number Diff line Loading @@ -103,8 +103,7 @@ public function setContext($context) { } /** * Gets the source string or the array of strings if the translation has * plurals. * Gets the source string(s) if the translation has plurals. * * @return string or array $translation */ Loading @@ -113,8 +112,7 @@ public function getSource() { } /** * Set the source string or the array of strings if the translation has * plurals. * Sets the source string(s) if the translation has plurals. * * @param string|array $source * The source string or the array of strings if the translation has plurals. Loading @@ -124,8 +122,7 @@ public function setSource($source) { } /** * Gets the translation string or the array of strings if the translation has * plurals. * Gets the translation string(s) if the translation has plurals. * * @return string or array $translation */ Loading @@ -134,8 +131,7 @@ public function getTranslation() { } /** * Set the translation string or the array of strings if the translation has * plurals. * Sets the translation string(s) if the translation has plurals. * * @param string|array $translation * The translation string or the array of strings if the translation has Loading
core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php +1 −2 Original line number Diff line number Diff line Loading @@ -185,8 +185,7 @@ public function garbageCollection() { } /** * Gets the full path of the containing directory where the file is or should * be stored. * Gets the full path of the file storage directory's parent. * * @param string $name * The virtual file name. Can be a relative path. Loading
core/lib/Drupal/Component/Utility/Color.php +1 −2 Original line number Diff line number Diff line Loading @@ -58,8 +58,7 @@ public static function hexToRgb($hex) { } /** * Converts RGB color arrays and RGB strings in CSS notation to lowercase * simple colors like '#aabbcc'. * Converts RGB color arrays or strings to lowercase CSS notation. * * @param array|string $input * The value to convert. If the value is an array the first three elements Loading
core/lib/Drupal/Core/Config/Schema/ArrayElement.php +1 −2 Original line number Diff line number Diff line Loading @@ -137,8 +137,7 @@ protected function createElement($definition, $value, $key) { } /** * Creates a new data definition object from a type definition array and * actual configuration data. * Creates a new data definition object from an array and configuration. * * @param array $definition * The base type definition array, for which a data definition should be Loading