fix typo
This commit is contained in:
1 parent
84a873f345
commit
4a3495faf2
3 files changed
+5
-4
No files matched your search
@@ -10,3 +10,6 @@ trim_trailing_whitespace = true
|
|||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
+1
-1
@@ -4,7 +4,7 @@ if (! function_exists('verta')) {
|
|||||||
/**
|
/**
|
||||||
* @param null $datetime
|
* @param null $datetime
|
||||||
* @param null $timezone
|
* @param null $timezone
|
||||||
* @return \Hekmatinasse\Verta\Verta
|
* @return \Hekmatinasser\Verta\Verta
|
||||||
*/
|
*/
|
||||||
function verta($datetime = null, $timezone = null)
|
function verta($datetime = null, $timezone = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Hekmatinasser\Verta\Tests;
|
|||||||
use Hekmatinasser\Verta\Verta;
|
use Hekmatinasser\Verta\Verta;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
class ComparisionTest extends TestCase
|
class ComparisonTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testValidDate()
|
public function testValidDate()
|
||||||
{
|
{
|
||||||
@@ -53,8 +53,6 @@ class ComparisionTest extends TestCase
|
|||||||
|
|
||||||
public function testDiffMonths()
|
public function testDiffMonths()
|
||||||
{
|
{
|
||||||
$datetime = Verta::parse('1398-10-10 21:30:50');
|
|
||||||
|
|
||||||
$datetime = Verta::parse('1398-10-10 21:30:50');
|
$datetime = Verta::parse('1398-10-10 21:30:50');
|
||||||
$result = $datetime->diffMonths($datetime);
|
$result = $datetime->diffMonths($datetime);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user