Skip to content

Commit

Permalink
Merge pull request #47 from matt-daneshvar/analysis-YOmbdj
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
matt-daneshvar authored Aug 13, 2023
2 parents fd96af0 + 65d2f5f commit df68cbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Models/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function answers()
/**
* The question's validation rules.
*
* @param $value
* @param $value
* @return array|mixed
*/
public function getRulesAttribute($value)
Expand All @@ -112,7 +112,7 @@ public function getKeyAttribute()
* Scope a query to only include questions that
* don't belong to any sections.
*
* @param $query
* @param $query
* @return mixed
*/
public function scopeWithoutSection($query)
Expand Down
2 changes: 1 addition & 1 deletion src/SurveyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function register()
/**
* Publish package migrations.
*
* @param $migrations
* @param $migrations
*/
protected function publishMigrations($migrations)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Utilities/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(Question $question)
/**
* Find all answers with the same value.
*
* @param $value
* @param $value
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function similarAnswers($value)
Expand All @@ -37,7 +37,7 @@ public function similarAnswers($value)
/**
* Find the ratio of similar answers to all other answers.
*
* @param $value
* @param $value
* @return float|int
*/
public function similarAnswersRatio($value)
Expand Down

0 comments on commit df68cbe

Please sign in to comment.