Skip to content

Commit ecd617f

Browse files
committed
Fix bug with rendering int value
1 parent c1f0cb6 commit ecd617f

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.idea
22
index.php
3-
test.php
43
vendor

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class TestClass extends BaseTestClass implements \NamespaceOne\InterfaceOne, Int
8787
use TraitTwo;
8888

8989
const CONST_ONE = 'value';
90-
const CONST_TWO = ;
90+
const CONST_TWO = 1;
9191

9292
public $propertyOne;
9393

composer.lock

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Model/Traits/ValueTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ protected function renderTyped($value)
5555

5656
break;
5757
case 'int':
58+
case 'integer':
5859
// do nothing
5960

6061
break;

0 commit comments

Comments
 (0)