Strict standards: Declaration of ... should be compatible with that of ... 意思就是子类(IndexAction)重写的show方法与父类(Action)中的show方法不兼容,php方法重写要求是要参数个数、方法名称与父类要一致,貌似__construct方法除外
转载于:https://my.oschina.net/pureboys/blog/294053
Strict standards: Declaration of ... should be compatible with that of ... 意思就是子类(IndexAction)重写的show方法与父类(Action)中的show方法不兼容,php方法重写要求是要参数个数、方法名称与父类要一致,貌似__construct方法除外
转载于:https://my.oschina.net/pureboys/blog/294053