Completed
Push — master ( 2aa341...596750 )
by Neomerx
03:41
created
src/Package/AsymmetricPublicEncryptPrivateDecryptContainerConfigurator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public static function configureContainer(LimoncelloContainerInterface $container)
39 39
     {
40
-        $container[EncryptInterface::class] = function (PsrContainerInterface $container) {
40
+        $container[EncryptInterface::class] = function(PsrContainerInterface $container) {
41 41
             $settings  = $container->get(SettingsProviderInterface::class)->get(C::class);
42 42
             $keyOrPath = $settings[C::KEY_PUBLIC_PATH_OR_KEY_VALUE] ?? null;
43 43
             if (empty($keyOrPath) === true) {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             return $crypt;
50 50
         };
51 51
 
52
-        $container[DecryptInterface::class] = function (PsrContainerInterface $container) {
52
+        $container[DecryptInterface::class] = function(PsrContainerInterface $container) {
53 53
             $settings  = $container->get(SettingsProviderInterface::class)->get(C::class);
54 54
             $keyOrPath = $settings[C::KEY_PRIVATE_PATH_OR_KEY_VALUE] ?? null;
55 55
             if (empty($keyOrPath) === true) {
Please login to merge, or discard this patch.
src/Package/SymmetricCryptContainerConfigurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     {
38 38
         $crypt = null;
39 39
 
40
-        $instanceFactory = function (PsrContainerInterface $container) use (&$crypt) {
40
+        $instanceFactory = function(PsrContainerInterface $container) use (&$crypt) {
41 41
             if ($crypt === null) {
42 42
                 $settings = $container->get(SettingsProviderInterface::class)->get(C::class);
43 43
                 $crypt    = new SymmetricCrypt($settings[C::KEY_METHOD], $settings[C::KEY_PASSWORD]);
Please login to merge, or discard this patch.
src/Package/AsymmetricPrivateEncryptPublicDecryptContainerConfigurator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public static function configureContainer(LimoncelloContainerInterface $container)
39 39
     {
40
-        $container[EncryptInterface::class] = function (PsrContainerInterface $container) {
40
+        $container[EncryptInterface::class] = function(PsrContainerInterface $container) {
41 41
             $settings  = $container->get(SettingsProviderInterface::class)->get(C::class);
42 42
             $keyOrPath = $settings[C::KEY_PRIVATE_PATH_OR_KEY_VALUE] ?? null;
43 43
             if (empty($keyOrPath) === true) {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             return $crypt;
50 50
         };
51 51
 
52
-        $container[DecryptInterface::class] = function (PsrContainerInterface $container) {
52
+        $container[DecryptInterface::class] = function(PsrContainerInterface $container) {
53 53
             $settings  = $container->get(SettingsProviderInterface::class)->get(C::class);
54 54
             $keyOrPath = $settings[C::KEY_PUBLIC_PATH_OR_KEY_VALUE] ?? null;
55 55
             if (empty($keyOrPath) === true) {
Please login to merge, or discard this patch.
src/Package/HasherContainerConfigurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public static function configureContainer(LimoncelloContainerInterface $container)
36 36
     {
37
-        $container[HasherInterface::class] = function (PsrContainerInterface $container) {
37
+        $container[HasherInterface::class] = function(PsrContainerInterface $container) {
38 38
             $settings = $container->get(SettingsProviderInterface::class)->get(C::class);
39 39
             $hasher   = new Hasher($settings[C::KEY_ALGORITHM], $settings[C::KEY_COST]);
40 40
 
Please login to merge, or discard this patch.