Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
acumatica
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
acumatica
Commits
09223923
Commit
09223923
authored
2 years ago
by
Dimitris Bozelos
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3350522
Added return types in connection type
parent
b1268f25
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Entity/ConnectionType.php
+4
-4
4 additions, 4 deletions
src/Entity/ConnectionType.php
src/Entity/ConnectionTypeInterface.php
+4
-4
4 additions, 4 deletions
src/Entity/ConnectionTypeInterface.php
with
8 additions
and
8 deletions
src/Entity/ConnectionType.php
+
4
−
4
View file @
09223923
...
...
@@ -119,28 +119,28 @@ class ConnectionType extends ConfigEntityBase implements
/**
* {@inheritdoc}
*/
public
function
getApiId
()
{
public
function
getApiId
()
:
?string
{
return
$this
->
api_id
;
}
/**
* {@inheritdoc}
*/
public
function
getApiVersion
()
{
public
function
getApiVersion
()
:
?string
{
return
$this
->
api_version
;
}
/**
* {@inheritdoc}
*/
public
function
getBaseNamespace
()
{
public
function
getBaseNamespace
()
:
?string
{
return
$this
->
base_namespace
;
}
/**
* {@inheritdoc}
*/
public
function
getAuthentication
()
{
public
function
getAuthentication
()
:
?array
{
return
$this
->
authentication
;
}
...
...
This diff is collapsed.
Click to expand it.
src/Entity/ConnectionTypeInterface.php
+
4
−
4
View file @
09223923
...
...
@@ -23,7 +23,7 @@ interface ConnectionTypeInterface extends
* @return string|null
* The ID, or NULL if it has not been defined.
*/
public
function
getApiId
();
public
function
getApiId
()
:
?string
;
/**
* Returns the version of the web service endpoint e.g. 22.200.001.
...
...
@@ -31,7 +31,7 @@ interface ConnectionTypeInterface extends
* @return string|null
* The version, or NULL if it has not been defined.
*/
public
function
getApiVersion
();
public
function
getApiVersion
()
:
?string
;
/**
* Returns the base namespace of the API client.
...
...
@@ -45,7 +45,7 @@ interface ConnectionTypeInterface extends
* @return string|null
* The namespace, or NULL if it has not been defined.
*/
public
function
getBaseNamespace
();
public
function
getBaseNamespace
()
:
?string
;
/**
* Returns the authentication settings.
...
...
@@ -56,6 +56,6 @@ interface ConnectionTypeInterface extends
* @return array|null
* The authentication settings, or NULL if no settings have been defined.
*/
public
function
getAuthentication
();
public
function
getAuthentication
()
:
?array
;
}
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