Skip to content

Commit

Permalink
Merge pull request #21 from matt-daneshvar/analysis-VrapwP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
matt-daneshvar authored Oct 5, 2021
2 parents ab79322 + 864bb22 commit affd68b
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/Http/View/Composers/SurveyComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SurveyComposer
/**
* SurveyComposer constructor.
*
* @param Guard $auth
* @param Guard $auth
*/
public function __construct(Guard $auth)
{
Expand All @@ -22,7 +22,7 @@ public function __construct(Guard $auth)
/**
* Compose the view with relevant values.
*
* @param View $view
* @param View $view
*/
public function compose(View $view)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Answer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Answer extends Model implements AnswerContract
/**
* Answer constructor.
*
* @param array $attributes
* @param array $attributes
*/
public function __construct(array $attributes = [])
{
Expand Down
10 changes: 5 additions & 5 deletions src/Models/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected static function boot()
/**
* Entry constructor.
*
* @param array $attributes
* @param array $attributes
*/
public function __construct(array $attributes = [])
{
Expand Down Expand Up @@ -82,7 +82,7 @@ public function participant()
/**
* Set the survey the entry belongs to.
*
* @param Survey $survey
* @param Survey $survey
* @return $this
*/
public function for(Survey $survey)
Expand All @@ -95,7 +95,7 @@ public function for(Survey $survey)
/**
* Set the participant who the entry belongs to.
*
* @param Model|null $model
* @param Model|null $model
* @return $this
*/
public function by(Model $model = null)
Expand All @@ -108,7 +108,7 @@ public function by(Model $model = null)
/**
* Create an entry from an array.
*
* @param array $values
* @param array $values
* @return $this
*/
public function fromArray(array $values)
Expand All @@ -133,7 +133,7 @@ public function fromArray(array $values)
/**
* The answer for a given question.
*
* @param Question $question
* @param Question $question
* @return mixed|null
*/
public function answerFor(Question $question)
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected static function boot()
/**
* Question constructor.
*
* @param array $attributes
* @param array $attributes
*/
public function __construct(array $attributes = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Section extends Model implements SectionContract
/**
* Section constructor.
*
* @param array $attributes
* @param array $attributes
*/
public function __construct(array $attributes = [])
{
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Survey extends Model implements SurveyContract
/**
* Survey constructor.
*
* @param array $attributes
* @param array $attributes
*/
public function __construct(array $attributes = [])
{
Expand Down Expand Up @@ -99,7 +99,7 @@ public function limitPerParticipant()
/**
* Survey entries by a participant.
*
* @param Model $participant
* @param Model $participant
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function entriesFrom(Model $participant)
Expand All @@ -110,7 +110,7 @@ public function entriesFrom(Model $participant)
/**
* Last survey entry by a participant.
*
* @param Model $participant
* @param Model $participant
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function lastEntry(Model $participant = null)
Expand All @@ -121,7 +121,7 @@ public function lastEntry(Model $participant = null)
/**
* Check if a participant is eligible to submit the survey.
*
* @param Model|null $model
* @param Model|null $model
* @return bool
*/
public function isEligible(Model $participant = null)
Expand Down
2 changes: 1 addition & 1 deletion src/SurveyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SurveyServiceProvider extends ServiceProvider
/**
* Boot the package.
*
* @param ViewFactory $viewFactory
* @param ViewFactory $viewFactory
*/
public function boot(ViewFactory $viewFactory)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Summary
/**
* Summary constructor.
*
* @param Question $question
* @param Question $question
*/
public function __construct(Question $question)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function getPackageProviders($app)
/**
* Sign in a dummy user.
*
* @param User|null $user
* @param User|null $user
* @return User
*/
protected function signIn(User $user = null)
Expand Down

0 comments on commit affd68b

Please sign in to comment.