Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grifart libs
tables
Commits
1997664c
Verified
Commit
1997664c
authored
2 years ago
by
Daniel Kurowski
Committed by
Jiří Pudil
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
rename VersionType to TupleVersionType
parent
62e30986
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
CompositeType: add explicit type cast to support composite values in WHERE clause
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/Fixtures/TestFixtures.php
+1
-1
1 addition, 1 deletion
tests/Fixtures/TestFixtures.php
tests/Fixtures/TupleVersionType.php
+1
-1
1 addition, 1 deletion
tests/Fixtures/TupleVersionType.php
with
2 additions
and
2 deletions
tests/Fixtures/TestFixtures.php
+
1
−
1
View file @
1997664c
...
...
@@ -25,7 +25,7 @@ final class TestFixtures
$typeResolver
=
new
TypeResolver
();
$typeResolver
->
addResolutionByLocation
(
'public.test.id'
,
new
UuidType
());
$typeResolver
->
addResolutionByLocation
(
'public.test.score'
,
new
IntType
());
$typeResolver
->
addResolutionByLocation
(
'public.package.version'
,
new
VersionType
());
$typeResolver
->
addResolutionByLocation
(
'public.package.version'
,
new
Tuple
VersionType
());
return
$typeResolver
;
}
}
This diff is collapsed.
Click to expand it.
tests/Fixtures/VersionType.php
→
tests/Fixtures/
Tuple
VersionType.php
+
1
−
1
View file @
1997664c
...
...
@@ -13,7 +13,7 @@ use function Grifart\ClassScaffolder\Definition\Types\tuple;
/**
* @extends CompositeType<array{int, int, int}>
*/
final
class
VersionType
extends
CompositeType
final
class
Tuple
VersionType
extends
CompositeType
{
public
function
__construct
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment