Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2014, 06:36 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 23,240
IntoRain is on a distinguished road
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -5. The time now is 03:42 PM.

Currently Active Users: 143 (0 members and 143 guests)
Threads: 4,081, Posts: 32,043, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636