Skip to content

Commit

Permalink
Merge pull request #16 from getmanenko/master
Browse files Browse the repository at this point in the history
Update name
  • Loading branch information
vitalyiegorov authored Jul 15, 2016
2 parents 862c0e5 + 43a5f94 commit 334d1e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Application.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

namespace samsoncms\input\bool;

/**
Expand All @@ -11,5 +10,5 @@ class Application extends \samsoncms\input\Application
public static $type = 11;

/** @var string SamsonCMS field class */
protected $fieldClass = '\samsoncms\input\bool\Bool';
protected $fieldClass = InputBool::class;
}
3 changes: 1 addition & 2 deletions src/Bool.php → src/InputBool.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
namespace samsoncms\input\bool;

use samsoncms\input\Field;
use samsonphp\event\Event;

/**
* Bool SamsonCMS input field
*/
class Bool extends Field
class InputBool extends Field
{
/** Database object field name */
protected $param = 'Value';
Expand Down

0 comments on commit 334d1e3

Please sign in to comment.