Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer committed Jun 26, 2018
1 parent 08dddfe commit f2fdace
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
use Doctrine\ORM\QueryBuilder;
use Eccube\Application;
use Eccube\Common\Constant;
use Eccube\Controller\AbstractController;
use Eccube\Entity\Master\CsvType;
Expand Down
2 changes: 1 addition & 1 deletion src/Eccube/Entity/AbstractEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function offsetUnset($offset)
*
* @param array $arrProps プロパティの情報を格納した連想配列
* @param \ReflectionClass $parentClass 親のクラス. 本メソッドの内部的に使用します.
* @param array $excludeAttribute 除外したいフィールド名の配列
* @param string[] $excludeAttribute 除外したいフィールド名の配列
*/
public function setPropertiesFromArray(array $arrProps, array $excludeAttribute = [], \ReflectionClass $parentClass = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Eccube/Form/Type/NameType.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function configureOptions(OptionsResolver $resolver)
],
'constraints' => [
new Assert\Length([
'max' => $this->eccubeConfig['eccube_name_len'],
'max' => $this->eccubeConfig['eccube_name_len'],
]),
new Assert\Regex([
'pattern' => '/^[^\s ]+$/u',
Expand Down
2 changes: 1 addition & 1 deletion src/Eccube/Service/EntityProxyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private function scanTraits($dirSets)
/**
* EntityにTraitを追加.
*
* @param $entityTokens Tokens Entityのトークン
* @param Tokens $entityTokens Tokens Entityのトークン
* @param $trait string 追加するTraitのFQCN
*/
private function addTrait($entityTokens, $trait)
Expand Down

0 comments on commit f2fdace

Please sign in to comment.