Skip to content

Commit

Permalink
docs: replace type mixed at Config class.
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-yee committed Apr 13, 2023
1 parent a564fe7 commit 3ba53c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions system/Config/BaseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ class BaseService
*
* $key must be a name matching a service.
*
* @param mixed ...$params
* @param array|object|string|null ...$params
*
* @return mixed
* @return object
*/
protected static function getSharedInstance(string $key, ...$params)
{
Expand Down Expand Up @@ -239,7 +239,7 @@ public static function locator(bool $getShared = true)
* Provides the ability to perform case-insensitive calling of service
* names.
*
* @return mixed
* @return object|null
*/
public static function __callStatic(string $name, array $arguments)
{
Expand Down Expand Up @@ -296,7 +296,7 @@ public static function resetSingle(string $name)
/**
* Inject mock object for testing.
*
* @param mixed $mock
* @param object $mock
*/
public static function injectMock(string $name, $mock)
{
Expand All @@ -309,7 +309,7 @@ public static function injectMock(string $name, $mock)
* looks for the service method in each, returning an instance of
* the service, if available.
*
* @return mixed
* @return object|null
*
* @deprecated
*
Expand Down
2 changes: 1 addition & 1 deletion system/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Config
* @param string $name Configuration name
* @param bool $getShared Use shared instance
*
* @return mixed|null
* @return object|null
*/
public static function get(string $name, bool $getShared = true)
{
Expand Down

0 comments on commit 3ba53c4

Please sign in to comment.