1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02:00

adding type hinting to the run function's arguments

This commit is contained in:
Tom McFarlin 2014-05-03 15:27:38 -04:00
parent 0abff96cfc
commit ee79eb4582

View file

@ -31,7 +31,7 @@ class Plugin_Name_Admin_Loader {
* @since 1.0.0 * @since 1.0.0
* @param type $plugin_name_admin A reference to the Plugin_Name_Admin class that defines the functions for the hooks. * @param type $plugin_name_admin A reference to the Plugin_Name_Admin class that defines the functions for the hooks.
*/ */
public function run( $plugin_name_admin ) { public function run( Plugin_Name_Admin $plugin_name_admin ) {
/** /**
* This function is used to define the various hooks that are used in the * This function is used to define the various hooks that are used in the