What's gone wrong with my script

Here’s my code.

using UnityEngine;
using System.Collections;

public class PlayerController : MonoBehaviour {

private Rigidbody rb;

void Start ()
{
	rb = GetComponent <Rigidbody> ();
}

void FixedUpdate ()
{
	float moveHorizontal = Input.GetAxis ("Horizontal");
	float moveVertical = Input.GetAxis ("Vertical");

	Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);

	rb.AddForce (movement);

}

You don’t have a } at the end to close the scope of the class. Unless you mean the functionality doesn’t work, though I can’t see any issue and it work for me. Make sure the Rigidbody component is not marked kinematic.