File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
CultureFeed/CultureFeed/Uitpas Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 33class CultureFeed_Uitpas_Calendar {
44
55 /**
6- * The periods of the calendar object
7- *
86 * @var CultureFeed_Uitpas_Calendar_Timestamp[]
97 */
10- public $ timestamps = array ();
8+ public array $ timestamps = array ();
119
1210 /**
13- * The periods of the calendar object
14- *
1511 * @var CultureFeed_Uitpas_Calendar_Period[]
1612 */
17- public $ periods = array ();
13+ public array $ periods = array ();
1814
1915 public function addPeriod (CultureFeed_Uitpas_Calendar_Period $ period ): void {
2016 $ this ->periods [] = $ period ;
@@ -24,7 +20,8 @@ public function addTimestamp(CultureFeed_Uitpas_Calendar_Timestamp $timestamp):
2420 $ this ->timestamps [] = $ timestamp ;
2521 }
2622
27- public static function createFromXML (CultureFeed_SimpleXMLElement $ object ) {
23+ public static function createFromXML (CultureFeed_SimpleXMLElement $ object ): CultureFeed_Uitpas_Calendar
24+ {
2825 $ object ->registerXPathNamespace ('cdb ' , CultureFeed_Cdb_Default::CDB_SCHEME_URL );
2926
3027 $ calendar = new CultureFeed_Uitpas_Calendar ();
You can’t perform that action at this time.
0 commit comments