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

Commit ffe7da2

Browse files
committed
Drop dead code incompatible with PHP 8.x
1 parent 066c52a commit ffe7da2

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
@@ -334,19 +334,6 @@ public function setInherit_global($_inherit_global) {
334334
return ($this->inherit_global = $_inherit_global);
335335
}
336336

337-
/**
338-
* Method called when an object has been exported with var_export() functions
339-
* It allows to return an object instantiated with the values
340-
*
341-
* @see MantisWsdlClass::__set_state()
342-
* @uses MantisWsdlClass::__set_state()
343-
* @param array $_array the exported values
344-
* @return MantisStructProjectData
345-
*/
346-
public static function __set_state(array $_array, $_className = __CLASS__) {
347-
return parent::__set_state($_array, $_className);
348-
}
349-
350337
/**
351338
* Method returning the class name
352339
*

inc/structaccountdata.php

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

162-
/**
163-
* Method called when an object has been exported with var_export() functions
164-
* It allows to return an object instantiated with the values
165-
*
166-
* @see MantisWsdlClass::__set_state()
167-
* @uses MantisWsdlClass::__set_state()
168-
* @param array $_array the exported values
169-
* @return MantisStructAccountData
170-
*/
171-
public static function __set_state(array $_array, $_className = __CLASS__) {
172-
return parent::__set_state($_array, $_className);
173-
}
174-
175162
/**
176163
* Method returning the class name
177164
*

inc/structissuenotedata.class.php

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

307-
/**
308-
* Method called when an object has been exported with var_export() functions
309-
* It allows to return an object instantiated with the values
310-
*
311-
* @see MantisWsdlClass::__set_state()
312-
* @uses MantisWsdlClass::__set_state()
313-
* @param array $_array the exported values
314-
* @return MantisStructIssueNoteData
315-
*/
316-
public static function __set_state(array $_array, $_className = __CLASS__) {
317-
return parent::__set_state($_array, $_className);
318-
}
319-
320307
/**
321308
* Method returning the class name
322309
*

0 commit comments

Comments
 (0)