Skip to content

Commit

Permalink
Fixed typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeluno committed Feb 21, 2019
1 parent 183994d commit 24ccd2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion development/factory/admin_page/AdminPageFramework.php
Expand Up @@ -28,7 +28,7 @@ abstract class AdminPageFramework extends AdminPageFramework_Controller {
*
* @since 3.0.0
* @since 3.7.0 Changed the name from `$_sFieldsType`.
* @since 3.7.12 Moved from `AdminPageFrmework_Model_Form`. Removed the static scope.
* @since 3.7.12 Moved from `AdminPageFramework_Model_Form`. Removed the static scope.
* @internal
*/
protected $_sStructureType = 'admin_page';
Expand Down
4 changes: 2 additions & 2 deletions development/factory/admin_page/AdminPageFramework_Router.php
Expand Up @@ -28,11 +28,11 @@ abstract class AdminPageFramework_Router extends AdminPageFramework_Factory {
*/
public function __construct( $sOptionKey=null, $sCallerPath=null, $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {

$_sProprtyClassName = isset( $this->aSubClassNames[ 'oProp' ] )
$_sPropertyClassName = isset( $this->aSubClassNames[ 'oProp' ] )
? $this->aSubClassNames[ 'oProp' ]
: 'AdminPageFramework_Property_' . $this->_sStructureType;

$this->oProp = new $_sProprtyClassName(
$this->oProp = new $_sPropertyClassName(
$this,
$sCallerPath,
get_class( $this ),
Expand Down

0 comments on commit 24ccd2f

Please sign in to comment.