-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added tests for redundant whitespaces
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -4,7 +4,7 @@ | ||
|
|
||
|
|
||
|
|
||
class ArrayHash<Key, Val > | class ArrayHash<Key, Val> | ||
{ | { | ||
|
|
||
} | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,33 @@ | |||
more type arguments | |||
<?php#e | |||
namespace A\B; | |||
class ArrayHash<Key, Val> | |||
{ | |||
|
|||
} | |||
?> | |||
<?php#c | |||
namespace A\B; | |||
\GenericsRegistry::registerClass('A\B\ArrayHash', array('Key', 'Val'));class ArrayHash implements \GenericType | |||
{public function getParametrizedType($parameterName) { return \GenericsRegistry::getParametrizedTypesForObject($this); } | |||
|
|||
} | |||
?> | |||
------------------------------------------------j-d-- | |||
|
|||
|
|||
more type arguments and whitespaces there and over | |||
<?php#e | |||
namespace A\B; | |||
class ArrayHash< Key, Val > | |||
{ | |||
|
|||
} | |||
?> | |||
<?php#c | |||
namespace A\B; | |||
\GenericsRegistry::registerClass('A\B\ArrayHash', array('Key', 'Val'));class ArrayHash implements \GenericType | |||
{public function getParametrizedType($parameterName) { return \GenericsRegistry::getParametrizedTypesForObject($this); } | |||
|
|||
} | |||
?> |