? Failure

User tests: Successful: Unsuccessful:

avatar malukenho
malukenho
16 Dec 2015

Add type hinting to JComponentRouterBase and simplify assigns

avatar malukenho malukenho - open - 16 Dec 2015
avatar malukenho malukenho - change - 16 Dec 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Dec 2015
Labels Added: ?
avatar Hackwar
Hackwar - comment - 23 Feb 2016

Hello @malukenho, I did not add type hinting here, because you should be able to hand in almost arbitrary objects, mainly to allow for proper unittesting.

avatar malukenho
malukenho - comment - 23 Feb 2016

@Hackwar can't be mocked?

avatar Hackwar
Hackwar - comment - 23 Feb 2016

Basically, I would rather type hint an interface and not a specific class like JMenu or JApplicationCms... In any case, you would have to change the unittests to work with those type hints, too.

avatar brianteeman brianteeman - change - 14 Mar 2016
Category Libraries
avatar brianteeman
brianteeman - comment - 25 Aug 2016

I am closing this at this time. As stated above it needs unittests before it gets merged and I assume that as there has been no update they wont be forthcoming

avatar brianteeman brianteeman - change - 25 Aug 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-08-25 14:06:07
Closed_By brianteeman
avatar brianteeman brianteeman - close - 25 Aug 2016

Add a Comment

Login with GitHub to post a comment