Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6184bf
commit 722e173
Showing
147 changed files
with
1,929 additions
and
2,640 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
<?php namespace GitScrum\Classes; | ||
<?php | ||
|
||
use Storage; | ||
use GitScrum\CommitFile; | ||
use GitScrum\CommitFilePhpcs; | ||
namespace GitScrum\Classes; | ||
|
||
class Phploc | ||
{ | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
<?php namespace GitScrum\Classes; | ||
<?php | ||
|
||
use Auth; | ||
use GitScrum\Models\User; | ||
namespace GitScrum\Classes; | ||
|
||
class UserClass { | ||
use GitScrum\Models\User; | ||
|
||
class UserClass | ||
{ | ||
public function save($data) | ||
{ | ||
$userReturn = $user = User::where('github_id', '=', $data['github_id'])->first(); | ||
|
||
$userReturn= $user = User::where('github_id','=', $data['github_id'])->first(); | ||
|
||
if($user === null){ | ||
if ($user === null) { | ||
return User::create($data); | ||
} else { | ||
return $userReturn; | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.