![]() |
|
#1
|
||||
|
||||
![]()
Yes, incompatible declarations are when a function's parameters don't match its parent's function parameters for example. Class AdminSidebar extends from Sidebar, so the function's parameters should have the same type, the one in adminsidebar doesn't have a type, that's why I said to put a GUIComponent before the variable name.
PHP doesn't care much about variable types, you don't even need to give them a type, that's why it's just a warning. And the add function is in class_dropdownlist.php file as public function add($option, $index = -1) ^^
__________________
![]() ![]() ![]() asp.net stole my soul. Last edited by IntoRain; 05-09-2014 at 06:40 AM. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Warning Messages (more) | Abronsyth | Questions and Supports | 4 | 10-04-2014 06:40 PM |
Better Messages Buttons | Inf3rnal | Mys v1.2.x Mods | 2 | 10-28-2011 11:11 AM |
Help: messages and email | Isura | Questions and Supports | 1 | 07-24-2011 02:09 PM |
Delete All Messages in Inbox Mod [by Kae] | Kaeliah | Mys v1.2.x Mods | 0 | 04-02-2011 02:30 AM |
Modding Suggestion: Error Messages | HIddenPanda | Suggestions and Feature Requests | 2 | 02-05-2011 09:46 PM |
What's New? |
What's Hot? |
What's Popular? |