Fix type and fix syntax of files
Revert "add gitingore for phpstorm"

This reverts commit 42da96f0c09185018ab4cb53f5f0d62db7a87f09.