]> git.agnieray.net Git - galette.git/blobdiff - galette/lib/Galette/Entity/Entitled.php
Small rework and few typo fixes
[galette.git] / galette / lib / Galette / Entity / Entitled.php
index f8f9915870b422309f189c80d0e28d6672c95c60..c9cf560e177d3418e4756aef28608b02b4a26ebf 100644 (file)
@@ -74,6 +74,7 @@ abstract class Entitled
     public static $fields;
     protected static $defaults;
 
+    /** @var string|false */
     protected $order_field = false;
 
     private $id;
@@ -225,11 +226,11 @@ abstract class Entitled
      * Get list in an array built as:
      * $array[id] = "translated label"
      *
-     * @param boolean $extent Filter on (non) cotisations types
+     * @param boolean|null $extent Filter on (non) cotisations types
      *
      * @return array|false
      */
-    public function getList($extent = null)
+    public function getList(bool $extent = null)
     {
         $list = array();
 
@@ -277,7 +278,7 @@ abstract class Entitled
     /**
      * Complete list
      *
-     * @return array of all objects if succeed, false otherwise
+     * @return array of all objects if succeeded, false otherwise
      */
     public function getCompleteList()
     {