Skip to content

Commit 368509c

Browse files
bryannielsengithub-actions[bot]
authored andcommitted
Prepare Release 1.3.0
1 parent 99ede38 commit 368509c

27 files changed

+74
-76
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [1.3.0] - 2024-03-18
6+
57
### Added
68

79
- Ability to pass a 'tagdata' parameter to the ExpressionEngine Template library
@@ -216,7 +218,9 @@
216218

217219
- Initial Beta Release
218220

219-
[Unreleased]: https://github.com/ExpressionEngine/Coilpack/compare/1.2.2...HEAD
221+
[Unreleased]: https://github.com/ExpressionEngine/Coilpack/compare/1.3.0...HEAD
222+
223+
[1.3.0]: https://github.com/ExpressionEngine/Coilpack/compare/1.2.2...1.3.0
220224

221225
[1.2.2]: https://github.com/ExpressionEngine/Coilpack/compare/1.2.1...1.2.2
222226

src/Auth/CoilpackUserProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class CoilpackUserProvider extends EloquentUserProvider
1010
/**
1111
* Retrieve a user by the given credentials.
1212
*
13-
* @param array $credentials
1413
* @return \Illuminate\Contracts\Auth\Authenticatable|null
1514
*/
1615
public function retrieveByCredentials(array $credentials)
@@ -29,8 +28,6 @@ public function retrieveByCredentials(array $credentials)
2928
/**
3029
* Validate a user against the given credentials.
3130
*
32-
* @param \Illuminate\Contracts\Auth\Authenticatable $user
33-
* @param array $credentials
3431
* @return bool
3532
*/
3633
public function validateCredentials(Authenticatable $user, array $credentials)
@@ -78,7 +75,6 @@ public function retrieveByToken($identifier, $token)
7875
/**
7976
* Update the "remember me" token for the given user in storage.
8077
*
81-
* @param \Illuminate\Contracts\Auth\Authenticatable $user
8278
* @param string $token
8379
* @return void
8480
*/

src/Auth/SessionGuard.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public function user()
4747
return $this->user;
4848
}
4949

50-
5150
/**
5251
* Remove the user data from the session and cookies.
5352
*

src/CacheDriver.php

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ public function __construct(CacheRepository $repository)
1818
* Look for a value in the cache. If it exists, return the data
1919
* if not, return FALSE
2020
*
21-
* @param string $key Key name
22-
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
23-
* local or global scoping of the cache item
24-
* @return mixed value matching $key or FALSE on failure
21+
* @param string $key Key name
22+
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
23+
* local or global scoping of the cache item
24+
* @return mixed value matching $key or FALSE on failure
2525
*/
2626
public function get($key, $scope = Cache::LOCAL_SCOPE)
2727
{
@@ -39,12 +39,12 @@ public function get($key, $scope = Cache::LOCAL_SCOPE)
3939
/**
4040
* Save value to cache
4141
*
42-
* @param string $key Key name
43-
* @param mixed $data Data to store
44-
* @param int $ttl = 60 Cache TTL (in seconds)
45-
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
46-
* local or global scoping of the cache item
47-
* @return bool TRUE on success, FALSE on failure
42+
* @param string $key Key name
43+
* @param mixed $data Data to store
44+
* @param int $ttl = 60 Cache TTL (in seconds)
45+
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
46+
* local or global scoping of the cache item
47+
* @return bool TRUE on success, FALSE on failure
4848
*/
4949
public function save($key, $data, $ttl = 60, $scope = Cache::LOCAL_SCOPE)
5050
{
@@ -67,10 +67,10 @@ public function save($key, $data, $ttl = 60, $scope = Cache::LOCAL_SCOPE)
6767
*
6868
* ee()->cache->delete('/namespace_name/');
6969
*
70-
* @param string $key Key name
71-
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
72-
* local or global scoping of the cache item
73-
* @return bool TRUE on success, FALSE on failure
70+
* @param string $key Key name
71+
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
72+
* local or global scoping of the cache item
73+
* @return bool TRUE on success, FALSE on failure
7474
*/
7575
public function delete($key, $scope = Cache::LOCAL_SCOPE)
7676
{
@@ -84,9 +84,9 @@ public function delete($key, $scope = Cache::LOCAL_SCOPE)
8484
/**
8585
* Clean the cache
8686
*
87-
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
88-
* local or global scoping of the cache item
89-
* @return bool TRUE on success, FALSE on failure
87+
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
88+
* local or global scoping of the cache item
89+
* @return bool TRUE on success, FALSE on failure
9090
*/
9191
public function clean($scope = Cache::LOCAL_SCOPE)
9292
{
@@ -100,7 +100,7 @@ public function clean($scope = Cache::LOCAL_SCOPE)
100100
/**
101101
* Cache Info
102102
*
103-
* @return mixed array containing cache info on success OR FALSE on failure
103+
* @return mixed array containing cache info on success OR FALSE on failure
104104
*/
105105
public function cache_info()
106106
{
@@ -110,10 +110,10 @@ public function cache_info()
110110
/**
111111
* Get Cache Metadata
112112
*
113-
* @param string $key Key to get cache metadata on
114-
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
115-
* local or global scoping of the cache item
116-
* @return mixed cache item metadata
113+
* @param string $key Key to get cache metadata on
114+
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE for
115+
* local or global scoping of the cache item
116+
* @return mixed cache item metadata
117117
*/
118118
public function get_metadata($key, $scope = Cache::LOCAL_SCOPE)
119119
{
@@ -173,10 +173,10 @@ protected function unwrapData($data)
173173
*
174174
* For the file driver, namespaces will be actual folders
175175
*
176-
* @param string $key Key name
177-
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE
178-
* for local or global scoping of the cache item
179-
* @return string Key prefixed with namespace
176+
* @param string $key Key name
177+
* @param const $scope Cache::LOCAL_SCOPE or Cache::GLOBAL_SCOPE
178+
* for local or global scoping of the cache item
179+
* @return string Key prefixed with namespace
180180
*/
181181
protected function _namespaced_key($key, $scope = Cache::LOCAL_SCOPE)
182182
{

src/CacheManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function accessRestrictedProperty($object, $property)
7070
/**
7171
* Returns the name of the adapter currently in use
7272
*
73-
* @return string Name of adapter
73+
* @return string Name of adapter
7474
*/
7575
public function get_adapter()
7676
{
@@ -82,7 +82,7 @@ public function get_adapter()
8282
* Configuration screen, and also optionally an error message if the driver
8383
* selected cannot be used
8484
*
85-
* @return string HTML dropdown and optional error message
85+
* @return string HTML dropdown and optional error message
8686
*/
8787
public function admin_setting()
8888
{

src/CoilpackServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Expressionengine\Coilpack;
44

5-
use Expressionengine\Coilpack\Auth\CoilpackUserProvider;
65
use Expressionengine\Coilpack\Api\Graph\Support\FieldtypeRegistrar;
76
use Illuminate\Support\Facades\App;
87
use Illuminate\Support\Facades\Event;

src/Extensions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct($data = [])
2424
*
2525
* @param string Name of the extension hook
2626
* @param mixed
27-
* @return mixed
27+
* @return mixed
2828
*/
2929
public function call($which)
3030
{
@@ -64,7 +64,7 @@ public function call($which)
6464
* Check If Hook Has Activated Extension
6565
*
6666
* @param string Name of the extension hook
67-
* @return bool
67+
* @return bool
6868
*/
6969
public function active_hook($which)
7070
{

src/Fieldtypes/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class Date extends Generic
99
{
10-
public function parametersForField(Field $field = null): array
10+
public function parametersForField(?Field $field = null): array
1111
{
1212
return [
1313
new Parameter([

src/Fieldtypes/Duration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class Duration extends Generic
99
{
10-
public function parametersForField(Field $field = null): array
10+
public function parametersForField(?Field $field = null): array
1111
{
1212
return [
1313
new Parameter([

src/Fieldtypes/Fieldtype.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function withSettings($settings)
3636
/**
3737
* A list of supported parameters for the fieldtype
3838
*/
39-
public function parametersForField(Field $field = null): array
39+
public function parametersForField(?Field $field = null): array
4040
{
4141
return [];
4242
}

0 commit comments

Comments
 (0)