Add some comments [skip ci]

This commit is contained in:
James Cole
2017-08-15 17:26:43 +02:00
parent 1633994fbd
commit 34894fb76b
6 changed files with 29 additions and 11 deletions

View File

@@ -16,6 +16,8 @@ use Illuminate\Support\Str;
/**
* Class UseEncryption
*
* @package FireflyIII\Console\Commands
*/
class UseEncryption extends Command
{
@@ -46,7 +48,6 @@ class UseEncryption extends Command
*/
public function handle()
{
//
$this->handleObjects('Account', 'name', 'encrypted');
$this->handleObjects('Bill', 'name', 'name_encrypted');
$this->handleObjects('Bill', 'match', 'match_encrypted');
@@ -57,6 +58,8 @@ class UseEncryption extends Command
}
/**
* Run each object and encrypt them (or not).
*
* @param string $class
* @param string $field
* @param string $indicator