Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 1d1de5d

Browse files
committed
Drop dead code incompatible with PHP 8.x
1 parent d36a2f4 commit 1d1de5d

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

inc/project.class.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -329,19 +329,6 @@ public function setInherit_global($_inherit_global) {
329329
return ($this->inherit_global = $_inherit_global);
330330
}
331331

332-
/**
333-
* Method called when an object has been exported with var_export() functions
334-
* It allows to return an object instantiated with the values
335-
*
336-
* @see MantisWsdlClass::__set_state()
337-
* @uses MantisWsdlClass::__set_state()
338-
* @param array $_array the exported values
339-
* @return MantisStructProjectData
340-
*/
341-
public static function __set_state(array $_array, $_className = __CLASS__) {
342-
return parent::__set_state($_array, $_className);
343-
}
344-
345332
/**
346333
* Method returning the class name
347334
*

inc/structaccountdata.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,6 @@ public function setEmail($_email) {
154154
return ($this->email = $_email);
155155
}
156156

157-
/**
158-
* Method called when an object has been exported with var_export() functions
159-
* It allows to return an object instantiated with the values
160-
*
161-
* @see MantisWsdlClass::__set_state()
162-
* @uses MantisWsdlClass::__set_state()
163-
* @param array $_array the exported values
164-
* @return MantisStructAccountData
165-
*/
166-
public static function __set_state(array $_array, $_className = __CLASS__) {
167-
return parent::__set_state($_array, $_className);
168-
}
169-
170157
/**
171158
* Method returning the class name
172159
*

inc/structissuenotedata.class.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -299,19 +299,6 @@ public function setNote_attr($_note_attr) {
299299
return ($this->note_attr = $_note_attr);
300300
}
301301

302-
/**
303-
* Method called when an object has been exported with var_export() functions
304-
* It allows to return an object instantiated with the values
305-
*
306-
* @see MantisWsdlClass::__set_state()
307-
* @uses MantisWsdlClass::__set_state()
308-
* @param array $_array the exported values
309-
* @return MantisStructIssueNoteData
310-
*/
311-
public static function __set_state(array $_array, $_className = __CLASS__) {
312-
return parent::__set_state($_array, $_className);
313-
}
314-
315302
/**
316303
* Method returning the class name
317304
*

0 commit comments

Comments
 (0)