Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
v3.0.0
  • Loading branch information
rmunate authored May 28, 2024
2 parents f1fdf04 + 208f0bc commit e84a4f7
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/Bases/BaseHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class BaseHelpers
/**
* Handle calls to missing methods on the helper.
*
* @param string $method The name of the method being called.
* @param string $method The name of the method being called.
* @param array $parameters The parameters passed to the method.
*
* @throws Exception If the method does not exist.
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/CreateHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Helpers\Illuminate\Support\Commands;

use Illuminate\Console\Command;
use Helpers\Illuminate\Support\Commands\Traits\CommandUtilities;
use Illuminate\Console\Command;

class CreateHelpers extends Command
{
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/CreateHelpersFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Helpers\Illuminate\Support\Commands;

use Illuminate\Console\Command;
use Helpers\Illuminate\Support\Commands\Traits\CommandUtilities;
use Illuminate\Console\Command;

class CreateHelpersFunctions extends Command
{
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/GenerateHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Helpers\Illuminate\Support\Commands;

use Illuminate\Console\Command;
use Helpers\Illuminate\Support\Commands\Traits\CommandUtilities;
use Illuminate\Console\Command;

class GenerateHelpers extends Command
{
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Traits/CommandUtilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ private function getStub($className)
'Date' => '/../../Stubs/Date.stub',
'File' => '/../../Stubs/File.stub',
'Number' => '/../../Stubs/Number.stub',
'Str' => '/../../Stubs/Str.stub'
'Str' => '/../../Stubs/Str.stub',
];

if (isset($stubs[$className])) {
Expand Down
6 changes: 3 additions & 3 deletions src/Helpers.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$file_functions = __DIR__ . '/../../../../app/Helpers/Functions.php';
$file_functions = __DIR__.'/../../../../app/Helpers/Functions.php';

if (file_exists($file_functions) && is_file($file_functions)) {
require_once($file_functions);
}
require_once $file_functions;
}
4 changes: 2 additions & 2 deletions src/Native/LaravelArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ trait LaravelArray
* @param string $method The method being called.
* @param array $arguments The arguments being passed to the method.
*
* @return mixed The result of the method call.
*
* @throws BadMethodCallException If the method does not exist.
*
* @return mixed The result of the method call.
*/
public static function __callStatic($method, $arguments)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Native/LaravelDate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ trait LaravelDate
* @param string $method The method being called.
* @param array $arguments The arguments being passed to the method.
*
* @return mixed The result of the method call.
*
* @throws BadMethodCallException If the method does not exist.
*
* @return mixed The result of the method call.
*/
public static function __callStatic($method, $arguments)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Native/LaravelFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ trait LaravelFile
* @param string $method The method being called.
* @param array $arguments The arguments being passed to the method.
*
* @return mixed The result of the method call.
*
* @throws BadMethodCallException If the method does not exist.
*
* @return mixed The result of the method call.
*/
public static function __callStatic($method, $arguments)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Native/LaravelNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ trait LaravelNumber
* @param string $method The method being called.
* @param array $arguments The arguments being passed to the method.
*
* @return mixed The result of the method call.
*
* @throws BadMethodCallException If the method does not exist.
*
* @return mixed The result of the method call.
*/
public static function __callStatic($method, $arguments)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Native/LaravelStrings.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ trait LaravelStrings
* @param string $method The method being called.
* @param array $arguments The arguments being passed to the method.
*
* @return mixed The result of the method call.
*
* @throws BadMethodCallException If the method does not exist.
*
* @return mixed The result of the method call.
*/
public static function __callStatic($method, $arguments)
{
Expand Down

0 comments on commit e84a4f7

Please sign in to comment.