Skip to content

Commit

Permalink
Shorten excerpt length.
Browse files Browse the repository at this point in the history
To comply w/ 2018 Google rule. Max 150 characters.
  • Loading branch information
Arthur Guigand committed Oct 4, 2018
1 parent c395178 commit 0c09dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Excerpt.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct(PropertyAccessor $accessor)
* @return string
* @throws \ReflectionException
*/
public function fromEntity($entity, $length = 300)
public function fromEntity($entity, $length = 150)
{
$values = '';
$refl = new \ReflectionClass($entity);
Expand Down

0 comments on commit 0c09dca

Please sign in to comment.