Random cleanup

This commit is contained in:
Toby Zerner 2015-07-22 09:57:25 +09:30
parent 77dbbae170
commit 970030b77e
3 changed files with 6 additions and 6 deletions

View File

@ -338,7 +338,7 @@ class PostStream extends mixin(Component, evented) {
if (start < this.visibleStart || end > this.visibleEnd) return;
const anchorIndex = backwards ? this.visibleEnd - 1 : this.visibleStart;
anchorScroll(`.PostStream-item[data-index=${anchorIndex}]`, () => m.redraw(true));
anchorScroll(`.PostStream-item[data-index="${anchorIndex}"]`, () => m.redraw(true));
this.unpause();
};

View File

@ -20,7 +20,7 @@ class DiscussionRepository
* certain user, or throw an exception.
*
* @param integer $id
* @param \Flarum\Core\Users\User $user
* @param User $user
* @return \Flarum\Core\Discussions\Discussion
*/
public function findOrFail($id, User $user = null)
@ -33,7 +33,7 @@ class DiscussionRepository
/**
* Get the IDs of discussions which a user has read completely.
*
* @param \Flarum\Core\Users\User $user
* @param User $user
* @return array
*/
public function getReadIds(User $user)
@ -48,7 +48,7 @@ class DiscussionRepository
* Scope a query to only include records that are visible to a user.
*
* @param Builder $query
* @param \Flarum\Core\Users\User $user
* @param User $user
* @return Builder
*/
protected function scopeVisibleTo(Builder $query, User $user = null)

View File

@ -4,8 +4,8 @@ use Flarum\Core\Users\User;
/**
* Represents the criteria that will determine the entire result set of a
* search. The limit and offset are not included because they only
* determine which part of the entire result set will be returned.
* search. The limit and offset are not included because they only determine
* which part of the entire result set will be returned.
*/
class SearchCriteria
{