Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
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
Development
CiviCRM Core
Commits
2b6c13e9
Unverified
Commit
2b6c13e9
authored
5 years ago
by
colemanw
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #14294 from eileenmcnaughton/stds
[NFC] Fix variable types in DAO doc blocks
parents
1f94fbf0
a296e35e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/ACL/DAO/ACL.php
+3
-3
3 additions, 3 deletions
CRM/ACL/DAO/ACL.php
CRM/Core/CodeGen/Specification.php
+2
-1
2 additions, 1 deletion
CRM/Core/CodeGen/Specification.php
with
5 additions
and
4 deletions
CRM/ACL/DAO/ACL.php
+
3
−
3
View file @
2b6c13e9
...
...
@@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:
de12a8f0949faa12a7ffc89b7abfd7b
7)
* (GenCodeChecksum:
810da5f19a7ead8c949065156674c08
7)
*/
/**
...
...
@@ -31,7 +31,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
/**
* Unique table ID
*
* @var int
unsigned
* @var int
*/
public
$id
;
...
...
@@ -45,7 +45,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
/**
* Is this ACL entry Allow (0) or Deny (1) ?
*
* @var bool
ean
* @var bool
*/
public
$deny
;
...
...
This diff is collapsed.
Click to expand it.
CRM/Core/CodeGen/Specification.php
+
2
−
1
View file @
2b6c13e9
...
...
@@ -318,7 +318,7 @@ class CRM_Core_CodeGen_Specification {
// need this case since some versions of mysql do not have boolean as a valid column type and hence it
// is changed to tinyint. hopefully after 2 yrs this case can be removed.
$field
[
'sqlType'
]
=
'tinyint'
;
$field
[
'phpType'
]
=
$type
;
$field
[
'phpType'
]
=
'bool'
;
$field
[
'crmType'
]
=
'CRM_Utils_Type::T_'
.
strtoupper
(
$type
);
break
;
...
...
@@ -340,6 +340,7 @@ class CRM_Core_CodeGen_Specification {
$field
[
'phpType'
]
=
$this
->
value
(
'phpType'
,
$fieldXML
,
$type
);
$field
[
'sqlType'
]
=
$type
;
if
(
$type
==
'int unsigned'
)
{
$field
[
'phpType'
]
=
'int'
;
$field
[
'crmType'
]
=
'CRM_Utils_Type::T_INT'
;
}
else
{
...
...
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