Convert component to array

I am trying to create a function that checks if all of the bricks are gone in a scene, I’m copying from a tutorial some of the script. Specifically this:

public BrickScript[] bricks {get; private set;}

this:

bool Cleared()
{
    for(int i = 0; i < this.bricks.Length; i++)
    {
        if(this.bricks[i].gameObject.activeInHierarchy && !this.bricks[i].unbreakable)
        {
            return false;
        }
    }
    return true;
}

this:

this.bricks = FindObjectOfType<BrickScript>();

and this:

public void Hit(BrickScript Brick)
{
    this.score += Brick.points;
    if(Cleared())
    {
        LoadLevel(this.level + 1);
    }
}

BrickScript is the script that handles all the brick logic.

I genuinely don’t know how to fix the "Cannot implicitly convert type 'BrickScript' to 'BrickScript[]'" error and this dude I’m watching the tutorial from doesn’t have this error for some reason.
I think he is using a earlier version of Unity, but I am not sure.

Any ideas on how to fix this?