]> Raphaël G. Git Repositories - airbundle/commitdiff
Fix returned entity
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Dec 2020 07:37:09 +0000 (08:37 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Dec 2020 07:37:09 +0000 (08:37 +0100)
Entity/User.php

index fd35891ea950ab872890a53094f9b8b269d2af23..3385a20dbffbf31c3892fcab27b1451f054af0bd 100644 (file)
@@ -222,7 +222,7 @@ class User extends BaseUser {
         *
         * @param \Rapsys\AirBundle\Entity\Snippet $snippet
         *
         *
         * @param \Rapsys\AirBundle\Entity\Snippet $snippet
         *
-        * @return Location
+        * @return User
         */
        public function addSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) {
                $this->snippets[] = $snippet;
         */
        public function addSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) {
                $this->snippets[] = $snippet;