Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fixes #1 - Analyzer Definition
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhirsch committed Jan 14, 2017
1 parent c450245 commit 05b9852
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AzureSearch/Index/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ final class Field
private $retrievable;

/**
* @var bool
* @var string
*/
private $analyzer;

Expand Down Expand Up @@ -130,7 +130,7 @@ final class Field
* when you want to use a field (e.g., margin) as a filter, sorting, or scoring
* mechanism but do not want the field to be visible to the end user. This
* attribute must be true for key fields.
* @param bool $analyzer Sets the name of the language analyzer to use for the field
* @param string $analyzer Sets the name of the language analyzer to use for the field
*/
public function __construct(
string $name,
Expand All @@ -141,7 +141,7 @@ public function __construct(
bool $sortable = true,
bool $facetable = true,
bool $retrievable = true,
bool $analyzer = null
string $analyzer = null
) {

$this->name = $name;
Expand Down

0 comments on commit 05b9852

Please sign in to comment.