Skip to content

Commit

Permalink
Merge branch 'master' of github.com:matt-daneshvar/laravel-survey
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-daneshvar committed Mar 14, 2024
2 parents 23cf811 + df68cbe commit c36a25d
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 c36a25d

Please sign in to comment.