@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $this->mergeConfigFrom(__DIR__.'/../config/tckimlikno.php', 'tckimlikno'); |
| 35 | 35 | |
| 36 | 36 | // Register the service the package provides. |
| 37 | - $this->app->singleton('tckimlikno', function ($app) { |
|
| 37 | + $this->app->singleton('tckimlikno', function($app) { |
|
| 38 | 38 | return new TCKimlikNo; |
| 39 | 39 | }); |
| 40 | 40 | } |
@@ -29,19 +29,19 @@ discard block |
||
| 29 | 29 | $surname = self::toUppercaseTr($surname); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - if (! preg_match('/^[A-Z ÇĞÖŞÜİ]{1,}$/', self::toUppercaseTr($name))) { |
|
| 32 | + if (!preg_match('/^[A-Z ÇĞÖŞÜİ]{1,}$/', self::toUppercaseTr($name))) { |
|
| 33 | 33 | return false; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - if (! preg_match('/^[A-Z ÇĞÖŞÜİ]{1,}$/', self::toUppercaseTr($surname))) { |
|
| 36 | + if (!preg_match('/^[A-Z ÇĞÖŞÜİ]{1,}$/', self::toUppercaseTr($surname))) { |
|
| 37 | 37 | return false; |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! preg_match('/^[0-9]{4}$/', $birthYear)) { |
|
| 40 | + if (!preg_match('/^[0-9]{4}$/', $birthYear)) { |
|
| 41 | 41 | return false; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - if (! self::verify($tcKimlikNo)) { |
|
| 44 | + if (!self::verify($tcKimlikNo)) { |
|
| 45 | 45 | return false; |
| 46 | 46 | } |
| 47 | 47 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | return false; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - if (! preg_match('/^[1-9]{1}[0-9]{9}[0,2,4,6,8]{1}$/', $tcKimlikNo)) { |
|
| 71 | + if (!preg_match('/^[1-9]{1}[0-9]{9}[0,2,4,6,8]{1}$/', $tcKimlikNo)) { |
|
| 72 | 72 | return false; |
| 73 | 73 | } |
| 74 | 74 | |