]> git.agnieray.net Git - galette.git/blobdiff - galette/lib/Galette/Repository/Groups.php
Improve coding standards
[galette.git] / galette / lib / Galette / Repository / Groups.php
index 24dfd9a223718d580fac068a8206d07f56386752..41510b0ea7dd9e40a820020da53923531d840426 100644 (file)
@@ -39,9 +39,7 @@ use Galette\Core\Db;
  */
 class Groups
 {
-    /** @var Db */
     private Db $zdb;
-    /** @var Login */
     private Login $login;
 
     /**
@@ -407,7 +405,7 @@ class Groups
      *
      * @return boolean
      */
-    public static function isUnique(Db $zdb, string $name, ?int $parent = null, ?int $current = null)
+    public static function isUnique(Db $zdb, string $name, ?int $parent = null, ?int $current = null): bool
     {
         try {
             $select = $zdb->select(Group::TABLE);