Skip to content

Commit 688e133

Browse files
author
Eugene Fureev
committed
ci: fix
1 parent e80cbb9 commit 688e133

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@4
14+
uses: actions/checkout@v4
1515
- name: Create Release
16-
id: create_release
17-
uses: softprops/action-gh-release@v1
16+
uses: softprops/action-gh-release@v2
17+
if: startsWith(github.ref, 'refs/tags/')
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
if: startsWith(github.ref, 'refs/tags/')
2120
with:
2221
name: Release ${{ github.ref }}
2322
draft: false

src/Global/base.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,6 @@ function class_uses_recursive($class): array
255255
if (!function_exists('remoteStaticCall')) {
256256
/**
257257
* Returns result of an object's method if it exists in the object.
258-
*
259-
* @param string|object|null $class
260-
* @param string $method
261-
* @param mixed ...$params
262-
*
263-
* @return mixed
264258
*/
265259
function remoteStaticCall(object|string|null $class, string $method, mixed ...$params): mixed
266260
{
@@ -282,12 +276,6 @@ function remoteStaticCall(object|string|null $class, string $method, mixed ...$p
282276
if (!function_exists('remoteStaticCall')) {
283277
/**
284278
* Returns result of an object's method if it exists in the object or trow exception.
285-
*
286-
* @param string|object|null $class
287-
* @param string $method
288-
* @param mixed ...$params
289-
*
290-
* @return mixed
291279
*/
292280
function remoteStaticCallOrTrow(object|string|null $class, string $method, mixed ...$params): mixed
293281
{
@@ -310,12 +298,6 @@ function remoteStaticCallOrTrow(object|string|null $class, string $method, mixed
310298
if (!function_exists('remoteCall')) {
311299
/**
312300
* Returns result of an object's method if it exists in the object.
313-
*
314-
* @param object|null $class
315-
* @param string $method
316-
* @param mixed ...$params
317-
*
318-
* @return mixed
319301
*/
320302
function remoteCall(?object $class, string $method, mixed ...$params): mixed
321303
{

0 commit comments

Comments
 (0)