I hereby claim:
- I am fatboyxpc on github.
- I am fatboyxpc (https://keybase.io/fatboyxpc) on keybase.
- I have a public key ASCuTli9PdpmhC4f3nlhR9wUazU0B54tl-0GwMvm_0SnRwo
To claim this, I am signing this object:
<?php | |
namespace App\Traits\Database; | |
trait MaybeTrait | |
{ | |
/** | |
* I found myself doing something similar to this: | |
* $results = Company::where('type', $type) | |
* |
I hereby claim:
To claim this, I am signing this object:
<?php | |
$lines = getLines(); | |
$ones = getOnes($lines); | |
$groups = buildGroups($ones); | |
$groupCounts = array_map(function ($group) { | |
return count($group); | |
}, $groups); |
<?php | |
class Foo | |
{ | |
public function checkFacebookCode($jobId) | |
{ | |
return $this->checkCode($jobId, function ($job) { | |
return $job->facebook->sortByDesc('id')->first()->checkForCodeAtUrl(); | |
}); | |
} |