fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15147] Syncromind: Merge 14936:15027 from trunk


From: sigurdne
Subject: [Fmsystem-commits] [15147] Syncromind: Merge 14936:15027 from trunk
Date: Fri, 13 May 2016 12:25:40 +0000 (UTC)

Revision: 15147
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15147
Author:   sigurdne
Date:     2016-05-13 12:25:40 +0000 (Fri, 13 May 2016)
Log Message:
-----------
Syncromind: Merge 14936:15027 from trunk

Modified Paths:
--------------
    branches/dev-syncromind-2/rental/inc/model/class.composite.inc.php

Modified: branches/dev-syncromind-2/rental/inc/model/class.composite.inc.php
===================================================================
--- branches/dev-syncromind-2/rental/inc/model/class.composite.inc.php  
2016-05-13 12:25:37 UTC (rev 15146)
+++ branches/dev-syncromind-2/rental/inc/model/class.composite.inc.php  
2016-05-13 12:25:40 UTC (rev 15147)
@@ -35,7 +35,7 @@
                 * 
                 * @param int $id the id of this composite
                 */
-               public function __construct( int $id = null )
+               public function __construct( int $id = 0 )
                {
                        parent::__construct($id);
                        $this->units = array();
@@ -106,7 +106,7 @@
                 * Checks if a unit is already added to the composite.
                 * 
                 * @param $location_code string with location code.
-                * @return boolean true if unit is added, false if not.
+                * @return bool true if unit is added, false if not.
                 */
                public function contains_unit( $location_code )
                {
@@ -124,7 +124,7 @@
                 * Checks if a contract is already added to the composite.
                 * 
                 * @param $contract_id int with contract id.
-                * @return boolean true if contract is added, false if not.
+                * @return bool true if contract is added, false if not.
                 */
                public function contains_contract( $contract_id )
                {
@@ -183,7 +183,7 @@
 
                public function set_is_active( $is_active )
                {
-                       $this->is_active = (boolean)$is_active;
+                       $this->is_active = (bool)$is_active;
                }
 
                public function is_active()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]