From d9d15337d88f4ca34c2e419f7782f750540fccb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 29 Aug 2021 06:43:25 +0200 Subject: [PATCH] Reorder --- Entity/User.php | 62 ++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Entity/User.php b/Entity/User.php index 1fb9f1a..189e0ea 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -185,37 +185,6 @@ class User extends BaseUser { return $this->applications; } - /** - * Add snippet - * - * @param Snippet $snippet - * - * @return User - */ - public function addSnippet(Snippet $snippet): User { - $this->snippets[] = $snippet; - - return $this; - } - - /** - * Remove snippet - * - * @param Snippet $snippet - */ - public function removeSnippet(Snippet $snippet): bool { - return $this->snippets->removeElement($snippet); - } - - /** - * Get snippets - * - * @return ArrayCollection - */ - public function getSnippets(): ArrayCollection { - return $this->snippets; - } - /** * Add dance * @@ -280,6 +249,37 @@ class User extends BaseUser { return $this->locations; } + /** + * Add snippet + * + * @param Snippet $snippet + * + * @return User + */ + public function addSnippet(Snippet $snippet): User { + $this->snippets[] = $snippet; + + return $this; + } + + /** + * Remove snippet + * + * @param Snippet $snippet + */ + public function removeSnippet(Snippet $snippet): bool { + return $this->snippets->removeElement($snippet); + } + + /** + * Get snippets + * + * @return ArrayCollection + */ + public function getSnippets(): ArrayCollection { + return $this->snippets; + } + /** * Add subscriber * -- 2.41.0