Verified Commit 7cbdf08f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2916306 by TR, quietone, pfrenssen: Use "@return" instead of "@returns"

parent 09bcf41f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ public function __construct(Response $response, $message = "", $code = 0, \Excep
  /**
   * Return the response to be enforced.
   *
   * @returns \Symfony\Component\HttpFoundation\Response $response
   * @return \Symfony\Component\HttpFoundation\Response
   *   The response to be enforced.
   */
  public function getResponse() {
+1 −1
Original line number Diff line number Diff line
@@ -641,7 +641,7 @@ protected function setCurrentRenderContext(RenderContext $context = NULL) {
   *   bubbleable metadata associated with the markup that replaced the
   *   placeholders.
   *
   * @returns bool
   * @return bool
   *   Whether placeholders were replaced.
   *
   * @see \Drupal\Core\Render\Renderer::renderPlaceholder()
+2 −2
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ protected function getName(Request $request) {
   * @param \Symfony\Component\HttpFoundation\Request $request
   *   The request.
   *
   * @returns string
   * @return string
   *   The session name without the prefix (SESS/SSESS).
   */
  protected function getUnprefixedName(Request $request) {
@@ -118,7 +118,7 @@ protected function getUnprefixedName(Request $request) {
   * @param \Symfony\Component\HttpFoundation\Request $request
   *   The request.
   *
   * @returns string|null
   * @return string|null
   *   The session cookie domain, or NULL if the calculated value is invalid.
   */
  protected function getCookieDomain(Request $request) {
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public function setEnabled($entity_type_id, $bundle, $value);
   *   (optional) The bundle of the entity. If no bundle is provided, all the
   *   available bundles are checked.
   *
   * @returns bool
   * @return bool
   *   TRUE if the specified bundle is translatable. If no bundle is provided
   *   returns TRUE if at least one of the entity bundles is translatable.
   */
+1 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ protected function createMergedItem(array $source_item, array $target_item, arra
   * @param array $properties
   *   An array of column names to be synchronized.
   *
   * @returns string
   * @return string
   *   A hash code that can be used to identify the item.
   */
  protected function itemHash(array $items, $delta, array $properties) {
Loading